Refactor IrWhen.
This commit is contained in:
@@ -6,11 +6,12 @@ FILE /Derived.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
|
||||
FUN public final fun setValue(v: kotlin.Any): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
if: TYPE_OP origin=INSTANCEOF typeOperand=kotlin.String
|
||||
GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null
|
||||
then: BLOCK type=kotlin.Unit origin=null
|
||||
SET_FIELD 'value: String!' type=kotlin.Unit origin=EQ
|
||||
receiver: THIS of 'Derived' type=Derived
|
||||
value: TYPE_OP origin=IMPLICIT_CAST typeOperand=kotlin.String!
|
||||
GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
if: TYPE_OP origin=INSTANCEOF typeOperand=kotlin.String
|
||||
GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null
|
||||
then: BLOCK type=kotlin.Unit origin=null
|
||||
SET_FIELD 'value: String!' type=kotlin.Unit origin=EQ
|
||||
receiver: THIS of 'Derived' type=Derived
|
||||
value: TYPE_OP origin=IMPLICIT_CAST typeOperand=kotlin.String!
|
||||
GET_VAR 'value-parameter v: Any' type=kotlin.Any origin=null
|
||||
|
||||
Reference in New Issue
Block a user