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.
20 lines
1.3 KiB
Plaintext
Vendored
20 lines
1.3 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/tryCatchWithImplicitCast.kt
|
|
FUN name:testImplicitCast visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit
|
|
VALUE_PARAMETER name:a index:0 type:kotlin.Any
|
|
BLOCK_BODY
|
|
WHEN type=kotlin.Unit origin=IF
|
|
BRANCH
|
|
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
|
GET_VAR 'a: kotlin.Any declared in <root>.testImplicitCast' type=kotlin.Any origin=null
|
|
then: RETURN type=kotlin.Nothing from='public final fun testImplicitCast (a: kotlin.Any): kotlin.Unit declared in <root>'
|
|
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public superTypes:[kotlin.Any]' type=kotlin.Unit
|
|
VAR name:t type:kotlin.String [val]
|
|
TRY type=kotlin.String
|
|
try: TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
|
|
BLOCK type=kotlin.Any origin=null
|
|
GET_VAR 'a: kotlin.Any declared in <root>.testImplicitCast' type=kotlin.Any origin=null
|
|
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=""
|