mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
assignment: stop bounds promotion inside nested wildcards (IDEA-139161)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
interface A<T extends B<? extends T>> { }
|
||||
interface B<T extends A<?>> { }
|
||||
|
||||
class C {
|
||||
void foo(A<?> x){
|
||||
<error descr="Incompatible types. Found: 'A<capture<?>>', required: 'A<? extends B<? extends A<?>>>'">A<? extends B<? extends A<?>>> y = x;</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user