Files
kotlin-fork/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/localCapturedInLambdaInLocalClass.kt
T
Mikhael Bogdanov a7d706f693 Unmute jvm ir-tests
2018-08-09 16:30:32 +03:00

9 lines
150 B
Kotlin
Vendored

open class Base(val fn: () -> String)
fun box(): String {
val o = "O"
class Local(k: String) : Base({ o + k })
return Local("K").fn()
}