mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
diamonds: additional diagnostics for cases when constructor is unresolved (IDEA-146028)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Test {
|
||||
{
|
||||
D<String> ds = new D<<error descr="Cannot infer arguments (unable to resolve constructor)"></error>>(9);
|
||||
}
|
||||
}
|
||||
|
||||
class D<T> {
|
||||
D() {}
|
||||
D(D<T> d){}
|
||||
D(M<T> m){}
|
||||
}
|
||||
|
||||
class M<K> extends D<K> {}
|
||||
Reference in New Issue
Block a user