mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
no enclosing instance of type inside super/this call
This commit is contained in:
+1
-1
@@ -189,7 +189,7 @@ class InnerClassRefInsideAnonymous {
|
||||
Child(Foo foo) {
|
||||
super(new Foo() {
|
||||
public String toString() {
|
||||
AFoo afoo = null;
|
||||
AFoo afoo = new <error descr="Cannot reference 'AFoo' before supertype constructor has been called">AFoo</error>();
|
||||
return super.toString();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user