Files
kotlin-fork/compiler/testData/ir/irText/expressions/objectByNameInsideObject.fir.kt.txt
T
2021-05-14 16:20:18 +03:00

33 lines
425 B
Plaintext
Vendored

open class Base {
constructor(f1: Function0<Any>) /* primary */ {
super/*Any*/()
/* <init>() */
}
val f1: Function0<Any>
field = f1
get
}
object Thing : Base {
private constructor() /* primary */ {
super/*Base*/(f1 = local fun <anonymous>(): Any {
return Thing
}
)
/* <init>() */
}
fun test1(): Thing {
return Thing
}
fun test2(): Thing {
return <this>
}
}