mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:08:54 +07:00
11 lines
295 B
Java
11 lines
295 B
Java
class Test {
|
|
|
|
interface I<T> { void m(T arg); }
|
|
|
|
<T1> void foo(T1 arg, java.io.Serializable x) {}
|
|
<T2> void foo(I<T2> arg, Cloneable x) {}
|
|
|
|
void test(int[] array) {
|
|
this.<String>foo<error descr="Cannot resolve method 'foo(<lambda expression>, int[])'">(p -> {}, array)</error>;
|
|
}
|
|
} |