Files
kotlin/compiler/testData/codegen/box/objects/selfReferenceToObjectInLambdaInSuperConstructorCall.kt
2018-08-09 14:22:50 +03:00

7 lines
123 B
Kotlin
Vendored

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