mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +07:00
test data for IDEA-67677
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.util.List;
|
||||
|
||||
interface B<T extends Cloneable> {
|
||||
void foo(List<? super T> x);
|
||||
}
|
||||
|
||||
class D {
|
||||
void bar(B<?> x, List<?> y) {
|
||||
x.foo<error descr="'foo(java.util.List<? super capture<? extends java.lang.Cloneable>>)' in 'B' cannot be applied to '(java.util.List<capture<?>>)'">(y)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user