inline: use wildcard bound to avoid ? in top level type element (IDEA-144883)

This commit is contained in:
Anna Kozlova
2015-09-08 15:10:00 +03:00
parent 76081b5b78
commit 8356d38604
4 changed files with 39 additions and 0 deletions
@@ -0,0 +1,13 @@
interface Pair<A extends String> {
A get();
}
class B {
{
Pair<?> p = null;
String v = p.get();
}
}