Skip to content

Tern not identifying js property references in the given case #1052

@abose

Description

@abose

Getting refs for the property x.test1 at the shown cursor position only returns to root definition and not all references as shown below:

image

code

// Object
let x = {
    test1: 12,
    test2: 45
};

// Property
x = x.test1;

x.test1 =34;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions