mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
6 lines
281 B
Java
6 lines
281 B
Java
class C<T extends C<? extends C<? extends T>>>{
|
|
void foo(C<?> x){
|
|
<error descr="Inferred type 'capture<?>' for type parameter 'T' is not within its bound; should extend 'C<? extends capture<?>>'">bar(x)</error>;
|
|
}
|
|
<T extends C<? extends T>> void bar(C<T> x){}
|
|
} |