mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java: report errors again on qualified reference if the type of the qualifier is unknown (revert of fix for IDEA-240047)
GitOrigin-RevId: 28d8cda938544f81c5b32d931496b6ba707b5c35
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d716a552d4
commit
e41f056a6b
+2
-2
@@ -1,7 +1,7 @@
|
||||
class Test {
|
||||
void test() {
|
||||
var x = <error descr="Cannot resolve method 'unresolved' in 'Test'">unresolved</error>();
|
||||
System.out.println(x.hashCode());
|
||||
System.out.println(x.x);
|
||||
System.out.println(x.<error descr="Cannot resolve method 'hashCode()'">hashCode</error>());
|
||||
System.out.println(x.<error descr="Cannot resolve symbol 'x'">x</error>);
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@ class Test {
|
||||
}
|
||||
|
||||
void test2(<error descr="Cannot resolve symbol 'XXX'">XXX</error> bar) {
|
||||
System.out.println(bar.hashCode());
|
||||
System.out.println(bar.<error descr="Cannot resolve method 'hashCode()'">hashCode</error>());
|
||||
if (<error descr="Inconvertible types; cannot cast 'XXX' to 'java.lang.CharSequence'">bar instanceof CharSequence</error>) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user