Skip to content

IntelliSense/navigation for private class member crashes VS 2015 #4255

Description

@LordJZ

To reproduce, create an empty typescript project, add 2 typescript files.

In file1.ts add this:

class C {
    private v = 10;
}

In file2.ts add this:

var g = new C().v;

Put caret after the dot . before v. VS 2015 crashes immediately. (If not, try to navigate to declaration of v.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions