Skip to content

LanguageService.getReferencesAtPosition does not find all references #975

@ashwinr

Description

@ashwinr

The following code used to find the reference for variable z in line2 correctly pre-1.0, but now fails to find the reference within the function func:

    export class ABCD {
        constructor(private x: number, public y: number, private z: number) {
        }

        func() {
            return this.z;
        }
    }

Metadata

Metadata

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