mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
11 lines
259 B
Java
11 lines
259 B
Java
class A<T> {
|
|
A<A<? extends T>> foo(){
|
|
return null;
|
|
}
|
|
|
|
void bar(A<?> x){
|
|
baz<error descr="'baz(A<A<?>>)' in 'A' cannot be applied to '(A<A<? extends capture<?>>>)'">(x.foo())</error>;
|
|
}
|
|
|
|
<S> void baz(A<A<? extends S>> x){}
|
|
} |