mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +07:00
7 lines
201 B
Java
7 lines
201 B
Java
class A<K> {
|
|
<S, T extends A<S>> void foo(A<? extends T> x){}
|
|
|
|
void bar(A<A<?>> x){
|
|
foo<error descr="'foo(A<? extends T>)' in 'A' cannot be applied to '(A<A<?>>)'">(x)</error>;
|
|
}
|
|
} |