testdata for IDEA-57537

(cherry picked from commit 701378494912e1f8a52c8f0c9bc18d61e2f3ebbf)
This commit is contained in:
Anna Kozlova
2014-10-17 21:08:07 +02:00
parent 9fce6c0640
commit f90c603a81
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,10 @@
class B<T>{
class C {}
}
class D<T> extends B<B<T>>{
void foo(D<?>.C x){
bar<error descr="'bar(B<B<S>>.C)' in 'D' cannot be applied to '(D<?>.C)'">(x)</error>;
}
<S> void bar(D<S>.C x){}
}