16 lines
311 B
Kotlin
16 lines
311 B
Kotlin
package d
|
|
|
|
fun <T: Any> joinT(<!UNUSED_PARAMETER!>x<!>: Int, vararg <!UNUSED_PARAMETER!>a<!>: T): T? {
|
|
return null
|
|
}
|
|
|
|
fun <T: Any> joinT(<!UNUSED_PARAMETER!>x<!>: Any, <!UNUSED_PARAMETER!>y<!>: T): T? {
|
|
return null
|
|
}
|
|
|
|
fun test() {
|
|
val x2 = joinT(<!NON_VARARG_SPREAD!>*<!>1, "2")
|
|
x2 : String?
|
|
}
|
|
|