testdata for IDEA-57494

This commit is contained in:
anna
2012-10-23 21:08:45 +02:00
parent 26378d1212
commit f57c2243d7
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,16 @@
import java.util.*;
abstract class A {
abstract <T> T baz(List<? super List<? super T>> a);
void bar(List<List<?>> x){
String s = baz(x);
}
}
abstract class A1{
abstract <T> T baz(List<? super T> a);
void bar(List<?> x){
String o = baz<error descr="'baz(java.util.List<? super java.lang.String>)' in 'A1' cannot be applied to '(java.util.List<capture<?>>)'">(x)</error>;
}
}