tern icon indicating copy to clipboard operation
tern copied to clipboard

Tern not identifying js property references in the given case

Open abose opened this issue 3 years ago • 0 comments
trafficstars

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;

abose avatar Aug 21 '22 05:08 abose