mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
10 lines
346 B
Java
10 lines
346 B
Java
|
|
import java.util.List;
|
|
|
|
abstract class X {
|
|
abstract <T> void copy(List<T> dest, List<? extends T> src);
|
|
|
|
void foo(List<?> x, List<?> y){
|
|
copy(x, <error descr="'copy(java.util.List<capture<?>>, java.util.List<? extends capture<?>>)' in 'X' cannot be applied to '(java.util.List<capture<?>>, java.util.List<capture<?>>)'">y</error>);
|
|
}
|
|
} |