[incomplete-project-model] Illegal initializer for an array: do not report on pending refs

GitOrigin-RevId: f4dc862ce95589b32ff1bd36092a187e1c43a4a3
This commit is contained in:
Tagir Valeev
2024-06-07 16:47:43 +02:00
committed by intellij-monorepo-bot
parent 2e03408f96
commit 6f754cceb9
2 changed files with 7 additions and 0 deletions

View File

@@ -98,6 +98,10 @@ public class Simple {
u.<info descr="Not resolved until the project is fully loaded">foo</info>()[0].<info descr="Not resolved until the project is fully loaded">blah</info>();
}
void initArray() {
<info descr="Not resolved until the project is fully loaded">Cls</info>[] array = {<info descr="Not resolved until the project is fully loaded">Cls</info>.<info descr="Not resolved until the project is fully loaded">createCls</info>()};
}
static class Clss implements <info descr="Not resolved until the project is fully loaded">MyInterface</info> {
void run() {
<info descr="Not resolved until the project is fully loaded">foo</info>(<info descr="Not resolved until the project is fully loaded">bar</info>);