mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +07:00
15 lines
338 B
Java
15 lines
338 B
Java
import java.util.*;
|
|
|
|
class Test {
|
|
interface I<T extends String, V extends List<T>> {
|
|
T m(V p);
|
|
}
|
|
|
|
void foo(I<? extends String, ? extends List<? extends String>> fip) { }
|
|
|
|
void test() {
|
|
foo(<error descr="Cannot infer functional interface type">(ArrayList<? extends String> p) -> p.get(0)</error>);
|
|
}
|
|
}
|
|
|