38 lines
493 B
Plaintext
Vendored
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() {
|
|
}
|
|
|
|
}
|