mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
complex inference algorithm for diamond
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class Neg11 {
|
||||
|
||||
void test() {
|
||||
class Foo<X extends Number> { }
|
||||
Foo<?> f1 = new <error descr="Cannot resolve symbol 'UndeclaredName'">UndeclaredName</error><>(); //this is deliberate: aim is to test erroneous path
|
||||
Foo<?> f2 = new <error descr="Cannot resolve symbol 'UndeclaredName'">UndeclaredName</error><>() {}; //this is deliberate: aim is to test erroneous path
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user