mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
overload conflicts: assume that subsignature conflicts are already resolved when most specific are checked (IDEA-168894)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
package p;
|
||||
|
||||
import static p.A.of;
|
||||
import static p.B.of;
|
||||
|
||||
class Test {
|
||||
{
|
||||
of(1, 2, 3);
|
||||
of<error descr="Ambiguous method call: both 'A.of(Integer)' and 'B.of(Integer)' match">(4)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user