Refactor IrWhen.
This commit is contained in:
@@ -29,12 +29,14 @@ FILE /jvmStaticFieldReference.kt
|
||||
FIELD PROPERTY_BACKING_FIELD public final val test: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
WHEN type=kotlin.Int origin=WHEN
|
||||
else: BLOCK type=kotlin.Int origin=null
|
||||
CALL 'println(String!): Unit' type=kotlin.Unit origin=null
|
||||
$this: TYPE_OP origin=IMPLICIT_NOTNULL typeOperand=java.io.PrintStream
|
||||
GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY
|
||||
p0: CONST String type=kotlin.String value='TestClass/test'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value='true'
|
||||
then: BLOCK type=kotlin.Int origin=null
|
||||
CALL 'println(String!): Unit' type=kotlin.Unit origin=null
|
||||
$this: TYPE_OP origin=IMPLICIT_NOTNULL typeOperand=java.io.PrintStream
|
||||
GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY
|
||||
p0: CONST String type=kotlin.String value='TestClass/test'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test>(): Int'
|
||||
|
||||
Reference in New Issue
Block a user