mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
4 lines
258 B
Java
4 lines
258 B
Java
class A<K>{
|
|
void foo(A<A<A<String>>> b){ <error descr="Inferred type 'A<java.lang.String>' for type parameter 'S' is not within its bound; should extend 'A<java.lang.Object>'">bar(b)</error>; }
|
|
<U, S extends A<U>, T extends A<S>> void bar(A<T> a){}
|
|
} |