JVM_IR KT-46839 lower varargs for *arrayOf function references
This commit is contained in:
committed by
teamcityserver
parent
6ca7b39f6a
commit
ba00709e4d
@@ -0,0 +1,8 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
|
||||
fun use(fn: (Array<String>) -> Array<String>) =
|
||||
fn(arrayOf("OK"))
|
||||
|
||||
fun box(): String {
|
||||
return use(::arrayOf)[0]
|
||||
}
|
||||
Reference in New Issue
Block a user