Files
kotlin-fork/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt
T

53 lines
590 B
Plaintext
Vendored

class Outer {
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
fun foo() {
}
inner class Inner {
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
fun test() {
<this>.foo()
}
inner class Inner2 {
constructor() /* primary */ {
super/*Any*/()
/* InstanceInitializerCall */
}
fun test2() {
<this>.test()
<this>.foo()
}
fun Outer.test3() {
<this>.foo()
}
}
}
}