Files
kotlin-fork/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt
T
2024-02-16 10:19:38 +00:00

40 lines
496 B
Kotlin
Vendored

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