mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata for IDEA-131686
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
interface Msg<T extends Msg<T>> {}
|
||||
|
||||
class Conv<T extends Msg<T>> {
|
||||
static <A extends Msg<A>> Conv<A> createBar(A a) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static void test() {
|
||||
Conv<? extends Msg<?>> conv = Conv.createBar((Msg) null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user