diamonds: type params bounds restored (IDEA-91769)

This commit is contained in:
anna
2012-09-19 10:23:47 +02:00
parent 03c66e9976
commit faf232bfc1
7 changed files with 73 additions and 59 deletions
@@ -209,4 +209,17 @@ class Another {
static <T extends Outer> T m1() {return null;}
static <T> T m2() {return null;}
}
}
class TypeParamsExtendsList {
{
new TypeWithGeneric<>();
}
private static class A {}
private static class TypeWithGeneric<T extends A> extends ArrayList<T> {
}
}