mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
[java] fixes receiver highlighting in local classes (IDEA-158752)
This commit is contained in:
@@ -29,6 +29,12 @@ class C {
|
||||
void m4a(C C.this) { }
|
||||
void m4b(C <error descr="The receiver name does not match the enclosing class type">C.X.this</error>) { }
|
||||
|
||||
void m5() {
|
||||
class L {
|
||||
L(C C.this) { }
|
||||
}
|
||||
}
|
||||
|
||||
static void sm1(@TA Object <error descr="The receiver cannot be used in a static context">this</error>) { }
|
||||
|
||||
C(C <error descr="The receiver cannot be used in a static context">this</error>) { }
|
||||
|
||||
Reference in New Issue
Block a user