testdata for IDEA-67578

This commit is contained in:
Anna Kozlova
2014-06-02 20:00:32 +04:00
parent 88a9ace2c1
commit 656ce72eb4
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,8 @@
class X<T> { }
class A<T, S extends X<T>> {}
class C {
void foo(A<?, X<?>> a){ <error descr="Inferred type 'X<?>' for type parameter 'S' is not within its bound; should extend 'X<capture<?>>'">bar(a)</error>; }
<T, S extends X<T>> void bar(A<T, S> a){ }
}