mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-18 22:42:49 +07:00
403abc677a
(cherry picked from commit ece414558b7165e746bdf0a2d949979641ca33b4)
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){}
|
|
} |