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