mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inference: check glb conflicts after flatten in intersection type(IDEA-181017)
This commit is contained in:
+1
-1
@@ -11,6 +11,6 @@ abstract class A1{
|
||||
abstract <T> T baz(List<? super T> a);
|
||||
|
||||
void bar(List<?> x){
|
||||
String o = <error descr="Incompatible upper bounds: Object, capture of ?, String">baz(x);</error>
|
||||
String o = <error descr="Type parameter T has incompatible upper bounds: capture of ? and String">baz(x);</error>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user