Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/incompleteHighlighting/InferenceFailure.java
Tagir Valeev c85a3375f5 [java-highlighting] Test for bad inference
GitOrigin-RevId: a7a84f0b3cedcdcb7f41238a7747ff085140430e
2024-06-03 16:18:34 +00:00

9 lines
626 B
Java

import java.util.*;
import <info descr="Not resolved until the project is fully loaded">foo</info>.<info descr="Not resolved until the project is fully loaded">bar</info>.<info descr="Not resolved until the project is fully loaded">baz</info>.*;
class Test {
void test() {
List<String> data = new ArrayList<>(
Arrays.asList(<info descr="Not resolved until the project is fully loaded">a</info>.<info descr="Not resolved until the project is fully loaded">X</info>, <info descr="Not resolved until the project is fully loaded">a</info>.<info descr="Not resolved until the project is fully loaded">Y</info>));
}
}