mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
moreSpecific cleanup
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ abstract class A {
|
||||
abstract void foo(int... x);
|
||||
|
||||
{
|
||||
foo<error descr="Ambiguous method call: both 'A.foo(Object...)' and 'A.foo(int...)' match">(1)</error>;
|
||||
foo(1);
|
||||
}
|
||||
}
|
||||
abstract class A1 {
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ class MyTest1 {
|
||||
I i2 = MyTest1 :: m2;
|
||||
i2.m(42,42);
|
||||
|
||||
<error descr="Incompatible types. Found: '<method reference>', required: 'MyTest1.I'">I i3 = MyTest1 :: m3;</error>
|
||||
I i3 = MyTest1 :: m3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user