Skip to content

Cannot lookup symbol of nested function in method #6828

Closed
@dbaeumer

Description

@dbaeumer

From @tinganho on January 31, 2016 17:22

I cannot get a symbol of nested function in method.

class A {
    b() {
       function test() {

       }
    }
}

I think the symbol test should show up when I do CMD + SHIFT + O. Since it works with nested functions:

function test1 () {
    function test2() {

    }
}

I can get test2 above.

Copied from original issue: microsoft/vscode#2584

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do thisSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions