Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA57293.java
Anna Kozlova 403abc677a testdata for IDEA-57293
(cherry picked from commit ece414558b7165e746bdf0a2d949979641ca33b4)
2014-10-17 21:06:36 +02:00

8 lines
230 B
Java

class A<T,S> {}
class C {
void foo(A<?,?> x){
<error descr="Inferred type 'capture<?>' for type parameter 'S' is not within its bound; should extend 'capture<?>'">bar(x)</error>;
}
<T,S extends T> void bar(A<T,S> x){}
}