27 lines
1.2 KiB
Plaintext
Vendored
27 lines
1.2 KiB
Plaintext
Vendored
FILE /tryCatch.kt
|
|
FUN public fun test1(): kotlin.Unit
|
|
BLOCK_BODY
|
|
TRY type=kotlin.Unit
|
|
try: BLOCK type=kotlin.Unit origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
CATCH parameter=e: Throwable
|
|
BLOCK type=kotlin.Unit origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
finally: BLOCK type=kotlin.Unit origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
FUN public fun test2(): kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='test2(): Int'
|
|
TRY type=kotlin.Int
|
|
try: BLOCK type=kotlin.Int origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
CONST Int type=kotlin.Int value='42'
|
|
CATCH parameter=e: Throwable
|
|
BLOCK type=kotlin.Int origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
CONST Int type=kotlin.Int value='24'
|
|
finally: TYPE_OP origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
BLOCK type=kotlin.Int origin=null
|
|
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
|
CONST Int type=kotlin.Int value='555'
|