mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
8 lines
237 B
Java
8 lines
237 B
Java
class A<T> {
|
|
<T extends A<T>> void foo(T x){}
|
|
|
|
void bar(A<?> x){
|
|
<error descr="Inferred type 'java.lang.Object' for type parameter 'T' is not within its bound; should extend 'A<java.lang.Object>'">foo(x)</error>;
|
|
}
|
|
}
|