0f98c281ab
#KT-1781 Fixed Now, if foo() and foo(vararg bar) both match the call site, the first one is preferred
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
fun foo0() : String = "noarg"
|
|
|
|
fun foo0(vararg <!UNUSED_PARAMETER!>t<!> : Int) : String = "vararg"
|
|
|
|
fun test0() {
|
|
foo0()
|
|
foo0(1)
|
|
val a = IntArray(0)
|
|
foo0(*a)
|
|
} |