Closed Eskibear closed 4 years ago
Simpler repro code and different examples:
class A {
boolean func1() {
// highlighting is correct
return aa instanceof Test;
}
boolean func2() {
// highlighting is broken for a variable aaBB
return aaBB instanceof Test;
}
}
class A {
void func() {
// also broken
boolean test = aaBB instanceof Test;
}
}
Thanks for reporting. I will take a look.
Description
Steps to Reproduce
Stupid sample code below, one keypoint is, name of the varible before
instanceof
has to contains an upper case letter.Expected behavior: All
instanceof
to be correctly highlighted.Actual behavior: In return statements,
instanceof
is even not recognized as a token.