Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/overloadResolution/InferenceErrorInArgumentWhenWrongOverloadWasChosen.java
T
2019-07-08 12:04:21 +03:00

14 lines
325 B
Java

import java.util.Collections;
import java.util.List;
class MyTest {
public MyTest(String s, List<String> l, String s2) {
}
public MyTest(String s, int i) {
}
{
new MyTest("", <error descr="Incompatible types. Found: 'java.util.List<java.lang.Object>', required: 'int'">Collections.emptyList()</error>);
}
}