Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/diamond/DiagnosticMessageWhenConstructorIsUnresolved.java
Anna Kozlova e6165048e8 [java] skip plain cannot infer diamond error (IDEA-283409); add ambiguous constructor call (IDEA-272115)
this unifies error messages with method calls and allows more specific tooltips and additional fixes

GitOrigin-RevId: 5ab4340d822bba3d6563da12a16e4c41216a8627
2021-11-29 19:27:48 +00:00

14 lines
194 B
Java

class Test {
{
D<String> ds = new D<><error descr="Cannot resolve constructor 'D(int)'">(9)</error>;
}
}
class D<T> {
D() {}
D(D<T> d){}
D(M<T> m){}
}
class M<K> extends D<K> {}