Files
kotlin-fork/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt
T
2023-05-04 14:11:19 +00:00

39 lines
495 B
Kotlin
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>() */
}
private /* final field */ val $$delegate_0: FooBarImpl = FooBarImpl
override fun foo() {
<this>.#$$delegate_0.foo()
}
override fun bar() {
}
}