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