15 lines
673 B
Plaintext
Vendored
15 lines
673 B
Plaintext
Vendored
FILE /throw.kt
|
|
FUN public fun test1(): kotlin.Unit
|
|
BLOCK_BODY
|
|
THROW type=kotlin.Nothing
|
|
CALL 'constructor Throwable()' type=kotlin.Throwable operator=null
|
|
FUN public fun testImplicitCast(a: kotlin.Any): kotlin.Unit
|
|
BLOCK_BODY
|
|
WHEN type=kotlin.Unit operator=IF
|
|
if: TYPE_OP operator=INSTANCEOF typeOperand=kotlin.Throwable
|
|
GET_VAR 'value-parameter a: Any' type=kotlin.Any operator=null
|
|
then: BLOCK type=kotlin.Nothing operator=null
|
|
THROW type=kotlin.Nothing
|
|
TYPE_OP operator=IMPLICIT_CAST typeOperand=kotlin.Throwable
|
|
GET_VAR 'value-parameter a: Any' type=kotlin.Any operator=null
|