Files
kotlin-fork/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/outerCapturedInNestedLambda.kt
T

11 lines
179 B
Kotlin
Vendored

open class Base(val callback: () -> String)
class Outer {
val ok = "OK"
inner class Inner : Base({ { ok }() })
}
fun box(): String =
Outer().Inner().callback()