atom / symbols-view

Jump to symbols in Atom
MIT License
163 stars 114 forks source link

JS: Incorrectly displaying nested functions #166

Open yishn opened 8 years ago

yishn commented 8 years ago

Consider:

function a() {
    var x
}

function b() { }

This will produce the following symbols list:

although b is not nested inside a. Note the omitted semicolon after the variable declaration.