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.
15 lines
925 B
Plaintext
Vendored
15 lines
925 B
Plaintext
Vendored
FILE fqName:<root> fileName:/whenCoercedToUnit.kt
|
|
FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Unit
|
|
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=WHEN
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Int [val]
|
|
GET_VAR 'x: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
|
|
WHEN type=kotlin.Unit origin=WHEN
|
|
BRANCH
|
|
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
|
arg0: GET_VAR 'val tmp_0: kotlin.Int declared in <root>.foo' type=kotlin.Int origin=null
|
|
arg1: CONST Int type=kotlin.Int value=0
|
|
then: TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
CONST Int type=kotlin.Int value=0
|