Files
kotlin-fork/compiler/testData/codegen/box/closures/captureInSuperConstructorCall/kt13454.kt
T
2018-06-09 19:15:38 +03:00

10 lines
163 B
Kotlin
Vendored

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