Files
kotlin-fork/compiler/testData/ir/irText/expressions/objectByNameInsideObject.kt.txt
T
Dmitriy Novozhilov b454fcc1e0 [FIR] Save IR dumps to .ir.txt files instead of .txt in tests
This is needed to avoid clashes between different dumps from different
  handlers
2021-10-12 17:26:36 +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>
}
}