IDEA-234810 IntelliJ doesn't report parsing error on Java code

GitOrigin-RevId: 1d177aaec708bc9d09b5874164af91bf55686d41
This commit is contained in:
Tagir Valeev
2020-03-11 16:33:13 +00:00
committed by intellij-monorepo-bot
parent 1333ace424
commit 00fec48b9f
2 changed files with 22 additions and 14 deletions
@@ -7,6 +7,8 @@ class A {
b.new inner();
new A.inner();
b.new <error descr="Qualified class reference is not allowed in qualified new">A</error>.inner();
new A.inner() {};
b.new <error descr="Qualified class reference is not allowed in qualified new">A</error>.inner() {};
}
class inner {}