mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
diamonds: type params bounds restored (IDEA-91769)
This commit is contained in:
+14
-1
@@ -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> {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user