mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
11 lines
288 B
Java
11 lines
288 B
Java
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<?>>)' in 'B' cannot be applied to '(java.util.List<capture<?>>)'">(y)</error>;
|
|
}
|
|
} |