testdata for IDEA-57322

This commit is contained in:
Anna Kozlova
2015-05-20 21:54:17 +02:00
parent 97d8c99958
commit eb0904cfd9
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
class A<K> {
<S, T extends A<S>> void foo(A<? extends T> x){}
void bar(A<A<?>> x){
<error descr="Inferred type 'A<?>' for type parameter 'T' is not within its bound; should extend 'A<java.lang.Object>'">foo(x)</error>;
}
}