[FIR] Update tests for previous commit
This commit is contained in:
@@ -6,10 +6,10 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
condition: CONST Boolean type=kotlin.Boolean value=true
|
||||
body: BLOCK type=kotlin.Unit origin=null
|
||||
WHILE label=L2 origin=WHILE_LOOP
|
||||
condition: BLOCK type=kotlin.Unit origin=ELVIS
|
||||
condition: BLOCK type=kotlin.Boolean origin=ELVIS
|
||||
VAR name:<elvis> type:kotlin.Boolean? [val]
|
||||
GET_VAR 'c: kotlin.Boolean? declared in <root>.test1' type=kotlin.Boolean? origin=null
|
||||
WHEN type=kotlin.Unit origin=ELVIS
|
||||
WHEN type=kotlin.Boolean origin=ELVIS
|
||||
BRANCH
|
||||
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'val <elvis>: kotlin.Boolean? [val] declared in <root>.test1' type=kotlin.Boolean? origin=null
|
||||
@@ -26,10 +26,10 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
condition: CONST Boolean type=kotlin.Boolean value=true
|
||||
body: BLOCK type=kotlin.Unit origin=null
|
||||
WHILE label=L2 origin=WHILE_LOOP
|
||||
condition: BLOCK type=kotlin.Unit origin=ELVIS
|
||||
condition: BLOCK type=kotlin.Boolean origin=ELVIS
|
||||
VAR name:<elvis> type:kotlin.Boolean? [val]
|
||||
GET_VAR 'c: kotlin.Boolean? declared in <root>.test2' type=kotlin.Boolean? origin=null
|
||||
WHEN type=kotlin.Unit origin=ELVIS
|
||||
WHEN type=kotlin.Boolean origin=ELVIS
|
||||
BRANCH
|
||||
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'val <elvis>: kotlin.Boolean? [val] declared in <root>.test2' type=kotlin.Boolean? origin=null
|
||||
@@ -120,9 +120,11 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
CALL 'public final fun inc (): kotlin.Int declared in kotlin.Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'val <unary>: kotlin.Int [val] declared in <root>.test5' type=kotlin.Int origin=null
|
||||
GET_VAR 'var j: kotlin.Int [var] declared in <root>.test5' type=kotlin.Int origin=null
|
||||
condition: WHEN type=kotlin.Unit origin=IF
|
||||
condition: WHEN type=kotlin.Boolean origin=IF
|
||||
BRANCH
|
||||
if: ERROR_CALL 'Comparison of arguments with different types: kotlin/Int, kotlin/Unit' type=kotlin.Boolean
|
||||
if: CALL 'public final fun greaterOrEqual (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=GTEQ
|
||||
arg0: GET_VAR 'var j: kotlin.Int [var] declared in <root>.test5' type=kotlin.Int origin=null
|
||||
arg1: CONST Int type=kotlin.Int value=3
|
||||
then: CONST Boolean type=kotlin.Boolean value=false
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
@@ -131,5 +133,5 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
BRANCH
|
||||
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'var i: kotlin.Int [var] declared in <root>.test5' type=kotlin.Int origin=null
|
||||
arg1: CONST Int type=kotlin.Unit value=3
|
||||
arg1: CONST Int type=kotlin.Int value=3
|
||||
then: BREAK label=null loop.label=Outer
|
||||
|
||||
Reference in New Issue
Block a user