mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
more specific: lambda extended initial fix (IDEA-113357)
This commit is contained in:
@@ -95,7 +95,7 @@ class MyTest2 {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
private static void m(I2 i) {
|
||||
private static void <warning descr="Private method 'm(MyTest2.I2)' is never used">m</warning>(I2 i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
@@ -104,6 +104,6 @@ class MyTest2 {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
m(Foo::new);
|
||||
m<error descr="Ambiguous method call: both 'MyTest2.m(I2)' and 'MyTest2.m(I3)' match">(Foo::new)</error>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user