mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
this and super are not available inside anonymous class args
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ class C implements A {
|
||||
|
||||
interface A {
|
||||
A a = new C(<error descr="'A.this' cannot be referenced from a static context">this</error>);
|
||||
A a1 = new C(<error descr="Cannot find symbol variable this">this</error>){};
|
||||
A a1 = new C(<error descr="'A.this' cannot be referenced from a static context">this</error>){};
|
||||
|
||||
class B {
|
||||
A foo() {
|
||||
|
||||
Reference in New Issue
Block a user