inference: fix index for non-proper captured wildcard bounds (IDEA-188487)

This commit is contained in:
Anna.Kozlova
2018-03-19 13:22:26 +01:00
parent b91bb73dd2
commit 686c13fd01
3 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
import java.util.Map;
class MyTest {
private static <T> Map<? super T, ? super String> foo() {
return null;
}
{
Map<? super Integer, ? super String> action2 = foo();
}
}