substitute with bounds promotion: don't wrap wildcards

This commit is contained in:
Anna Kozlova
2016-02-01 16:53:20 +03:00
parent e6357ca1dd
commit 7bbd70e695
3 changed files with 19 additions and 0 deletions
@@ -0,0 +1,12 @@
class C<M extends L, L> {}
class B<K extends C<?, ?>>{
K get() {
return null;
}
{
C c = get();
}
}