Files
kotlin-fork/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.fir.kt.txt
T
2022-12-14 21:46:41 +00:00

38 lines
494 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()
}
private /* final field */ val $$delegate_0: FooBarImpl = FooBarImpl
override fun bar() {
}
}