Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting8/IDEA67677.java
2013-09-20 12:11:57 +04:00

12 lines
317 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<? extends java.lang.Cloneable>>)' in 'B' cannot be applied to '(java.util.List<capture<?>>)'">(y)</error>;
}
}