[IR] Don't print flags in declaration references in irText tests

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.
This commit is contained in:
Sergej Jaskiewicz
2023-05-15 19:44:19 +02:00
committed by Space Team
parent b8e868caf6
commit fd76a34277
837 changed files with 11643 additions and 11646 deletions
@@ -59,11 +59,11 @@ FILE fqName:<root> fileName:/implicitCastToDynamic.kt
BLOCK_BODY
VAR name:d type:dynamic [var]
CALL 'public final fun <get-p> (): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
SET_VAR 'var d: dynamic [var] declared in <root>.test4' type=kotlin.Unit origin=EQ
SET_VAR 'var d: dynamic declared in <root>.test4' type=kotlin.Unit origin=EQ
GET_VAR 'a: kotlin.Any declared in <root>.test4' type=kotlin.Any origin=null
SET_VAR 'var d: dynamic [var] declared in <root>.test4' type=kotlin.Unit origin=EQ
SET_VAR 'var d: dynamic declared in <root>.test4' type=kotlin.Unit origin=EQ
GET_VAR 'na: kotlin.Any? declared in <root>.test4' type=kotlin.Any? origin=null
SET_VAR 'var d: dynamic [var] declared in <root>.test4' type=kotlin.Unit origin=EQ
SET_VAR 'var d: dynamic declared in <root>.test4' type=kotlin.Unit origin=EQ
GET_VAR 's: kotlin.String declared in <root>.test4' type=kotlin.String origin=null
FUN name:test5 visibility:public modality:FINAL <> (a:kotlin.Any, s:kotlin.String, na:kotlin.Any?) returnType:kotlin.Unit
VALUE_PARAMETER name:a index:0 type:kotlin.Any