[FIR] Typing for try-catch
This commit is contained in:
committed by
Mikhail Glukhikh
parent
30e097a1e0
commit
b469eb293b
@@ -9,7 +9,7 @@ FILE fqName:<root> fileName:/tryCatchWithImplicitCast.kt
|
||||
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=IrErrorType
|
||||
TRY type=kotlin.String
|
||||
try: 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
|
||||
VAR name:e type:kotlin.Throwable [val]
|
||||
|
||||
Reference in New Issue
Block a user