28b3ea27f3
Generate call super-constructor calls as IrDelegatedConstructorCall.
51 lines
2.5 KiB
Plaintext
Vendored
51 lines
2.5 KiB
Plaintext
Vendored
FILE /argumentReorderingInDelegatingConstructorCall.kt
|
|
CLASS CLASS Base
|
|
CONSTRUCTOR public constructor Base(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
|
BLOCK_BODY
|
|
DELEGATING_CONSTRUCTOR_CALL Any
|
|
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
|
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
|
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
|
PROPERTY public final val x: kotlin.Int
|
|
EXPRESSION_BODY
|
|
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
PROPERTY public final val y: kotlin.Int
|
|
EXPRESSION_BODY
|
|
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
CLASS CLASS Test1
|
|
CONSTRUCTOR public constructor Test1(/*0*/ xx: kotlin.Int, /*1*/ yy: kotlin.Int)
|
|
BLOCK_BODY
|
|
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
|
VAR val tmp0_y: kotlin.Int
|
|
GET_VAR yy type=kotlin.Int operator=null
|
|
VAR val tmp1_x: kotlin.Int
|
|
GET_VAR xx type=kotlin.Int operator=null
|
|
DELEGATING_CONSTRUCTOR_CALL Base
|
|
x: GET_VAR tmp1_x type=kotlin.Int operator=null
|
|
y: GET_VAR tmp0_y type=kotlin.Int operator=null
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
|
CLASS CLASS Test2
|
|
CONSTRUCTOR public constructor Test2(/*0*/ xx: kotlin.Int, /*1*/ yy: kotlin.Int)
|
|
BLOCK_BODY
|
|
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
|
VAR val tmp0_y: kotlin.Int
|
|
GET_VAR yy type=kotlin.Int operator=null
|
|
VAR val tmp1_x: kotlin.Int
|
|
GET_VAR xx type=kotlin.Int operator=null
|
|
DELEGATING_CONSTRUCTOR_CALL Base
|
|
x: GET_VAR tmp1_x type=kotlin.Int operator=null
|
|
y: GET_VAR tmp0_y type=kotlin.Int operator=null
|
|
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
|
CONSTRUCTOR public constructor Test2(/*0*/ xxx: kotlin.Int, /*1*/ yyy: kotlin.Int, /*2*/ a: kotlin.Any)
|
|
BLOCK_BODY
|
|
BLOCK type=Test2 operator=ARGUMENTS_REORDERING_FOR_CALL
|
|
VAR val tmp0_yy: kotlin.Int
|
|
GET_VAR yyy type=kotlin.Int operator=null
|
|
VAR val tmp1_xx: kotlin.Int
|
|
GET_VAR xxx type=kotlin.Int operator=null
|
|
DELEGATING_CONSTRUCTOR_CALL Test2
|
|
xx: GET_VAR tmp1_xx type=kotlin.Int operator=null
|
|
yy: GET_VAR tmp0_yy type=kotlin.Int operator=null
|