28b3ea27f3
Generate call super-constructor calls as IrDelegatedConstructorCall.
38 lines
1.8 KiB
Plaintext
Vendored
38 lines
1.8 KiB
Plaintext
Vendored
FILE /qualifiedSuperCalls.kt
|
|
CLASS INTERFACE ILeft
|
|
FUN public open fun foo(): kotlin.Unit
|
|
BLOCK_BODY
|
|
PROPERTY public open val bar: kotlin.Int
|
|
PROPERTY_GETTER public open fun <get-bar>(): kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from=<get-bar>
|
|
CONST Int type=kotlin.Int value='1'
|
|
CLASS INTERFACE IRight
|
|
FUN public open fun foo(): kotlin.Unit
|
|
BLOCK_BODY
|
|
PROPERTY public open val bar: kotlin.Int
|
|
PROPERTY_GETTER public open fun <get-bar>(): kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from=<get-bar>
|
|
CONST Int type=kotlin.Int value='2'
|
|
CLASS CLASS CBoth
|
|
CONSTRUCTOR public constructor CBoth()
|
|
BLOCK_BODY
|
|
DELEGATING_CONSTRUCTOR_CALL Any
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=CBoth
|
|
FUN public open override /*2*/ fun foo(): kotlin.Unit
|
|
BLOCK_BODY
|
|
CALL .foo superQualifier=ILeft type=kotlin.Unit operator=null
|
|
$this: THIS public final class CBoth : ILeft, IRight type=ILeft
|
|
CALL .foo superQualifier=IRight type=kotlin.Unit operator=null
|
|
$this: THIS public final class CBoth : ILeft, IRight type=IRight
|
|
PROPERTY public open override /*2*/ val bar: kotlin.Int
|
|
PROPERTY_GETTER public open override /*2*/ fun <get-bar>(): kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from=<get-bar>
|
|
CALL .plus type=kotlin.Int operator=PLUS
|
|
$this: CALL .<get-bar> superQualifier=ILeft type=kotlin.Int operator=GET_PROPERTY
|
|
$this: THIS public final class CBoth : ILeft, IRight type=ILeft
|
|
other: CALL .<get-bar> superQualifier=IRight type=kotlin.Int operator=GET_PROPERTY
|
|
$this: THIS public final class CBoth : ILeft, IRight type=IRight
|