mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 18:58:31 +07:00
overload resolution: don't choose most specific method based on boxing property for vararg position (IDEA-163597)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Main {
|
||||
private static void m(Integer... arr) {}
|
||||
|
||||
private static void m(int... arr) {}
|
||||
|
||||
{
|
||||
m<error descr="Ambiguous method call: both 'Main.m(Integer...)' and 'Main.m(int...)' match">(1, 2)</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user