testdata for IDEA-57313

This commit is contained in:
Anna Kozlova
2015-05-21 10:00:26 +02:00
parent 6f657b665f
commit 59f4b04154
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,9 @@
class A<T>{
class B{}
}
class C<T extends Throwable> extends A<T> {
void foo(C<?>.B b){ bar<error descr="'bar(A<java.lang.Throwable>.B)' in 'C' cannot be applied to '(A<capture<?>>.B)'">(b)</error>; }
<T extends Throwable> void bar(A<T>.B b){}
}