blob: de27a241d8583beb20c999055861abcb10d37e8a (
plain)
1
2
3
4
5
6
7
|
class A<T> {
<T extends A<T>> void foo(T x){}
void bar(A<?> x){
<error descr="Inferred type 'capture<?>' for type parameter 'T' is not within its bound; should extend 'A<capture<? extends A<capture<?>>>>'">foo(x)</error>;
}
}
|