0f98c281ab
#KT-1781 Fixed Now, if foo() and foo(vararg bar) both match the call site, the first one is preferred
6 lines
168 B
Plaintext
6 lines
168 B
Plaintext
fun foo(vararg <!UNUSED_PARAMETER!>t<!> : String) = ""
|
|
fun foo(vararg <!UNUSED_PARAMETER!>t<!> : Int) = ""
|
|
|
|
fun test() {
|
|
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo()<!>
|
|
} |