be86739d3a
Change block typing contract.
18 lines
855 B
Plaintext
Vendored
18 lines
855 B
Plaintext
Vendored
FILE /ifElseIf.kt
|
|
FUN public fun test(/*0*/ i: kotlin.Int): kotlin.Int
|
|
BLOCK_BODY
|
|
RETURN type=<no-type>
|
|
WHEN type=kotlin.Int operator=WHEN
|
|
if: CALL .GT0 type=kotlin.Boolean operator=GT
|
|
arg0: CALL .compareTo type=kotlin.Int operator=GT
|
|
$this: GET_VAR i type=kotlin.Int operator=null
|
|
other: CONST Int type=kotlin.Int value='0'
|
|
then: CONST Int type=kotlin.Int value='1'
|
|
if: CALL .LT0 type=kotlin.Boolean operator=LT
|
|
arg0: CALL .compareTo type=kotlin.Int operator=LT
|
|
$this: GET_VAR i type=kotlin.Int operator=null
|
|
other: CONST Int type=kotlin.Int value='0'
|
|
then: CALL .unaryMinus type=kotlin.Int operator=UMINUS
|
|
$this: CONST Int type=kotlin.Int value='1'
|
|
else: CONST Int type=kotlin.Int value='0'
|