mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-14 22:41:58 +07:00
7 lines
244 B
Java
7 lines
244 B
Java
class A<K> {
|
|
<S, T extends A<S>> void foo(A<? extends T> x){}
|
|
|
|
void bar(A<A<?>> x){
|
|
<error descr="Inferred type 'A<?>' for type parameter 'T' is not within its bound; should extend 'A<java.lang.Object>'">foo(x)</error>;
|
|
}
|
|
} |