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