28b3ea27f3
Generate call super-constructor calls as IrDelegatedConstructorCall.
28 lines
1.1 KiB
Plaintext
Vendored
28 lines
1.1 KiB
Plaintext
Vendored
FILE /delegatedImplementationWithExplicitOverride.kt
|
|
CLASS INTERFACE IFooBar
|
|
FUN public abstract fun foo(): kotlin.Unit
|
|
FUN public abstract fun bar(): kotlin.Unit
|
|
CLASS OBJECT FooBarImpl
|
|
CONSTRUCTOR private constructor FooBarImpl()
|
|
BLOCK_BODY
|
|
DELEGATING_CONSTRUCTOR_CALL Any
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=FooBarImpl
|
|
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
|
BLOCK_BODY
|
|
FUN public open override /*1*/ fun bar(): kotlin.Unit
|
|
BLOCK_BODY
|
|
CLASS CLASS C
|
|
CONSTRUCTOR public constructor C()
|
|
BLOCK_BODY
|
|
DELEGATING_CONSTRUCTOR_CALL Any
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
|
PROPERTY val `C$IFooBar$delegate`: FooBarImpl
|
|
EXPRESSION_BODY
|
|
GET_OBJECT FooBarImpl type=FooBarImpl
|
|
FUN public open override /*1*/ /*delegation*/ fun foo(): kotlin.Unit
|
|
BLOCK_BODY
|
|
CALL .foo type=kotlin.Unit operator=null
|
|
$this: GET_VAR C$IFooBar$delegate type=FooBarImpl operator=null
|
|
FUN public open override /*1*/ fun bar(): kotlin.Unit
|
|
BLOCK_BODY
|