Files
kotlin-fork/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt
T
2024-02-16 10:19:38 +00:00

26 lines
353 B
Kotlin
Vendored

abstract class Base {
val lambda: Function0<Any>
field = lambda
get
constructor(lambda: Function0<Any>) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
object Test : Base {
private constructor() /* primary */ {
super/*Base*/(lambda = local fun <anonymous>(): Any {
return Test
}
)
/* <init>() */
}
}