complex inference algorithm for diamond

This commit is contained in:
anna
2011-02-21 10:10:52 +01:00
parent 872d8ddef2
commit 5a5e84f3ef
32 changed files with 580 additions and 224 deletions
@@ -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
}
}