[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
+1
-1
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/tryCatchWithImplicitCast.kt
|
||||
try: BLOCK type=kotlin.String origin=null
|
||||
TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
|
||||
GET_VAR 'a: kotlin.Any declared in <root>.testImplicitCast' type=kotlin.Any origin=null
|
||||
CATCH parameter=val e: kotlin.Throwable [val] declared in <root>.testImplicitCast
|
||||
CATCH parameter=val e: kotlin.Throwable declared in <root>.testImplicitCast
|
||||
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
||||
BLOCK type=kotlin.String origin=null
|
||||
CONST String type=kotlin.String value=""
|
||||
|
||||
Reference in New Issue
Block a user