fd76a34277
This doesn't reduce the quality of tests, because the flags are still printed for declarations themselves. We only omit them in references. However, this makes the tests more compatible with non-JVM backends (see KT-58605), because flags of referenced stdlib declarations may differ among target platforms.
22 lines
1.0 KiB
Plaintext
Vendored
22 lines
1.0 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/emptyWhen.kt
|
|
FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=WHEN
|
|
VAR name:x type:kotlin.Int [val]
|
|
CONST Int type=kotlin.Int value=0
|
|
BLOCK type=kotlin.Unit origin=WHEN
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val]
|
|
GET_VAR 'val x: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
|
|
WHEN type=kotlin.Unit origin=WHEN
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: BLOCK type=kotlin.Unit origin=null
|
|
VAR name:z type:kotlin.Unit [val]
|
|
BLOCK type=kotlin.Unit origin=WHEN
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.Int [val]
|
|
GET_VAR 'val x: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
|
|
WHEN type=kotlin.Unit origin=WHEN
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: BLOCK type=kotlin.Unit origin=null
|