mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 11:00:04 +07:00
testdata for IDEA-27080
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
abstract class TypeToken<T> {
|
||||
private <T> TypeToken<T> tt(Class<T> t) { return null; }
|
||||
private <T> void checkedTestInexactSupertype(TypeToken<T> expectedSuperclass, TypeToken<? extends T> type) {}
|
||||
TypeToken<? super Integer> ft = null;
|
||||
|
||||
{
|
||||
checkedTestInexactSupertype(ft, tt(Integer.class));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user