Files
kotlin/compiler/testData/codegen/box/objects/thisRefToObjectInNestedClassConstructorCall.kt

11 lines
167 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
open class Base(val s: String)
object Host {
class Derived : Base(this.foo())
fun foo() = "OK"
}
fun box() = Host.Derived().s