Test for vararg parameter of dynamic type
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// !MARK_DYNAMIC_CALLS
|
||||
|
||||
// MODULE[js]: m1
|
||||
// FILE: k.kt
|
||||
|
||||
fun test() {
|
||||
v()
|
||||
v(1)
|
||||
v(1, "")
|
||||
}
|
||||
|
||||
fun v(vararg d: dynamic) {
|
||||
for (dd in d) {
|
||||
dd.<!DEBUG_INFO_DYNAMIC!>foo<!>()
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package
|
||||
|
||||
internal fun test(): kotlin.Unit
|
||||
internal fun v(/*0*/ vararg d: dynamic /*kotlin.Array<dynamic>*/): kotlin.Unit
|
||||
Reference in New Issue
Block a user