Files
kotlin/compiler/testData/codegen/box/objects/selfReferenceToObjectInInlineLambdaInSuperConstructorCall.kt
2018-08-15 13:35:14 +03:00

7 lines
131 B
Kotlin
Vendored

abstract class Base(val fn: () -> String)
object Test : Base(run { { Test.ok() } }) {
fun ok() = "OK"
}
fun box() = Test.fn()