Function call + array accessor + new operator introduces extra meta.function-call.java scopes
Closed this issue · 3 comments
felixhao28 commented
Description
public class A {
void f() {
int a = 1;
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
g(education[new Random()]);
int a = 1;
}
void g(Object o) {
int a = 1;
}
}
Expected behavior: [What you expect to happen]
As you can see, although the highlight is still correct, there are more meta.function-call.java
than we need.
sadikovi commented
Can you include the language-java version that you are testing against?
felixhao28 commented
sadikovi commented
This is a weird one. I will have a look.