mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 19:29:30 +07:00
substitute with bounds promotion: don't wrap wildcards
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
class C<M extends L, L> {}
|
||||
|
||||
class B<K extends C<?, ?>>{
|
||||
K get() {
|
||||
return null;
|
||||
}
|
||||
|
||||
{
|
||||
C c = get();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user