inference: check lower bounds to eqBound assignability explicitly (IDEA-204125)

This commit is contained in:
Anna.Kozlova
2019-01-22 12:24:55 +01:00
parent 1f24e30346
commit 4c48f0c2b0
3 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
import java.util.*;
class MyTest {
{
List<A<? super Set<String>>> stream =
Arrays.asList(new A<Set<?>>(), new A<Set<String>>());
}
static class A<T> { }
}