Files
kotlin-fork/compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedArrayOf.kt
T
Mikhail Glukhikh f0a1d3e3b1 FIR2IR: generate modifiers in reference adapters as PSI2IR does
In particular, this commit makes isExternal, isExpect and isTailRec
always false for FIR2IR reference adapters

#KT-55461 Fixed
2023-01-25 12:31:34 +00:00

8 lines
169 B
Kotlin
Vendored

fun test(f: (Int, Int) -> Array<Int>) =
f('O'.toInt(), 'K'.toInt())
fun box(): String {
val t = test(::arrayOf)
return "${t[0].toChar()}${t[1].toChar()}"
}