testdata for IDEA-57311

This commit is contained in:
anna
2012-10-23 21:08:55 +02:00
parent 17b64a96f7
commit 132c55ebb1
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
class A<T> {
A<A<? extends T>> foo(){
return null;
}
void bar(A<?> x){
baz<error descr="'baz(A<A<?>>)' in 'A' cannot be applied to '(A<A<capture<?>>>)'">(x.foo())</error>;
}
<S> void baz(A<A<? extends S>> x){}
}