Files
kotlin-fork/js/js.translator/testData/box/closure/closureLocalLiteralFunction.kt
T

14 lines
165 B
Kotlin
Vendored

package foo
val k = { "K" }
fun test(): String {
val o = { "O" }
val funLit = { o() + k() }
return funLit()
}
fun box(): String {
return test()
}