mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 19:29:30 +07:00
IDEA-106119 (more rigorous check for "this" qualifier)
This commit is contained in:
+7
@@ -15,3 +15,10 @@ class R {
|
||||
System.out.println(<error descr="'Z' is not an enclosing class">Z.super</error>.toString());
|
||||
}
|
||||
}
|
||||
|
||||
class W {
|
||||
static String some = "";
|
||||
static void m() {
|
||||
synchronized (<error descr="Class name expected here">some</error>.this) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user