c9777fd79f
TODO: fix some more tests
20 lines
978 B
Plaintext
Vendored
20 lines
978 B
Plaintext
Vendored
FILE /tryCatchWithImplicitCast.kt
|
|
FUN public fun testImplicitCast(a: kotlin.Any): kotlin.Unit
|
|
VALUE_PARAMETER value-parameter a: kotlin.Any
|
|
BLOCK_BODY
|
|
WHEN type=kotlin.Unit origin=null
|
|
BRANCH
|
|
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
|
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
|
|
then: RETURN type=kotlin.Nothing from='testImplicitCast(Any): Unit'
|
|
GET_OBJECT 'Unit' type=kotlin.Unit
|
|
VAR val t: kotlin.String
|
|
TRY type=kotlin.String
|
|
try: BLOCK type=kotlin.String origin=null
|
|
TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
|
|
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
|
|
CATCH parameter=e: Throwable
|
|
VAR CATCH_PARAMETER val e: kotlin.Throwable
|
|
BLOCK type=kotlin.String origin=null
|
|
CONST String type=kotlin.String value=''
|