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

38 lines
493 B
Plaintext
Vendored

interface IFooBar {
abstract fun foo()
abstract fun bar()
}
object FooBarImpl : IFooBar {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun foo() {
}
override fun bar() {
}
}
class C : IFooBar {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun foo() {
<this>.#<$$delegate_0>.foo()
}
local /* final field */ val <$$delegate_0>: IFooBar = FooBarImpl
override fun bar() {
}
}