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

10 lines
139 B
Kotlin
Vendored

open class Foo(val x: () -> String)
class Outer {
val s = "OK"
inner class Inner : Foo({ s })
}
fun box() = Outer().Inner().x()