mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
[java-incomplete-model] Support known constructors with unresolved components
GitOrigin-RevId: 12f529c3eae1abba306c6318f189d08c877f9aa7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b6771f471e
commit
7b5b0bd4e4
@@ -23,6 +23,12 @@ public class Simple {
|
||||
System.out.println(s.<error descr="Cannot resolve symbol 'field'">field</error>);
|
||||
}
|
||||
|
||||
void callKnownCtor(<info descr="Not resolved until the project is fully loaded">Cls</info> cls) {
|
||||
new IOException(cls);
|
||||
// No three-arg ctor anyway
|
||||
new IOException<error descr="Cannot resolve constructor 'IOException(Cls, Cls, Cls)'">(cls, cls, cls)</error>;
|
||||
}
|
||||
|
||||
void testImports(<info descr="Not resolved until the project is fully loaded">Cls</info>.<info descr="Not resolved until the project is fully loaded">UnusedClass</info> inner) {
|
||||
<info descr="null">var</info> x = <error descr="Cannot resolve symbol 'Value'">Value</error>;
|
||||
System.out.println(<info descr="Not resolved until the project is fully loaded">UsedInClassObject</info>.class);
|
||||
|
||||
Reference in New Issue
Block a user