[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
@@ -4,7 +4,7 @@ FILE fqName:<root> fileName:/catchParameterInTopLevelProperty.kt
|
||||
EXPRESSION_BODY
|
||||
TRY type=kotlin.Unit
|
||||
try: BLOCK type=kotlin.Unit origin=null
|
||||
CATCH parameter=val e: kotlin.Throwable [val] declared in <root>.test
|
||||
CATCH parameter=val e: kotlin.Throwable declared in <root>.test
|
||||
VAR CATCH_PARAMETER name:e type:kotlin.Throwable [val]
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user