mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 21:43:33 +07:00
IDEA-192201 Bad code is green: inner class object creation
This commit is contained in:
+2
@@ -5,6 +5,8 @@ class A {
|
||||
A() {
|
||||
<error descr="Qualified new of static class">b.new c()</error>;
|
||||
b.new inner();
|
||||
new A.inner();
|
||||
b.new <error descr="Qualified class reference is not allowed in qualified new">A</error>.inner();
|
||||
}
|
||||
class inner {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user