mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
good code red: no enclosing instance found: qualified new in constructors should accept new expr (IDEA-93254)
This commit is contained in:
+9
@@ -86,3 +86,12 @@ class ABIllegal extends <error descr="No enclosing instance of type 'A' is in sc
|
||||
this(new A());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class A42 {
|
||||
class B {}
|
||||
}
|
||||
|
||||
class D42 extends A42.B {
|
||||
D42() {new A42().super();}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user