mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce parameter: respect varargs when rise conflict on params count/args count mismatch (IDEA-56024)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class C {
|
||||
void method(int k, String... s) {
|
||||
System.out.println(s[<selection>k</selection>]);
|
||||
}
|
||||
|
||||
{
|
||||
method("a", "b", "c");
|
||||
method();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user