Files
kotlin-fork/compiler/testData/codegen/box/closures/kt5589.kt
T
2018-06-28 12:26:41 +02:00

7 lines
145 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun box(): String {
val x = "OK"
fun bar(y: String = x): String = y
return bar()
}