testdata for IDEA-57320

This commit is contained in:
Anna Kozlova
2015-05-21 10:00:38 +02:00
parent d64ec6f997
commit 5eb8d5a8e6
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,9 @@
class A<T,S> {}
class B<T> {
A<? extends T, ? extends T> foo(){
return null;
}
void bar(B<?> b){ baz<error descr="'baz(A<? extends T,T>)' in 'B' cannot be applied to '(A<capture<?>,capture<?>>)'">(b.foo())</error>; }
<T> void baz(A<? extends T,T> a) {}
}