mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 03:07:47 +07:00
testdata for JDK-8042508
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user