[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:
committed by
Space Team
parent
b8e868caf6
commit
fd76a34277
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user