new inference: move test

This commit is contained in:
anna
2013-09-26 19:16:12 +02:00
parent 4cb7d5c950
commit 2ea47e35b1
12 changed files with 15 additions and 14 deletions
@@ -2,6 +2,6 @@ class A<T> {
<T extends A<T>> void foo(T x){}
void bar(A<?> x){
foo<error descr="'foo(T)' in 'A' cannot be applied to '(A<capture<?>>)'">(x)</error>;
<error descr="Inferred type 'capture<?>' for type parameter 'T' is not within its bound; should extend 'A<capture<? extends A<capture<?>>>>'">foo(x)</error>;
}
}