| FILE fqName:<root> fileName:/badBreakContinue.kt | |
| FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit | |
| BLOCK_BODY | |
| ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing | |
| ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing | |
| FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit | |
| BLOCK_BODY | |
| WHILE label=L1 origin=WHILE_LOOP | |
| condition: CONST Boolean type=kotlin.Boolean value=true | |
| body: BLOCK type=kotlin.Unit origin=null | |
| ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind label ERROR to a loop)] ' type=kotlin.Nothing | |
| ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind label ERROR to a loop)] ' type=kotlin.Nothing | |
| FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit | |
| BLOCK_BODY | |
| WHILE label=L1 origin=WHILE_LOOP | |
| condition: CONST Boolean type=kotlin.Boolean value=true | |
| body: BLOCK type=kotlin.Unit origin=null | |
| VAR name:lambda type:kotlin.Function0<kotlin.Nothing> [val] | |
| FUN_EXPR type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA | |
| FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing | |
| BLOCK_BODY | |
| BREAK label=L1 loop.label=L1 | |
| CONTINUE label=L1 loop.label=L1 | |
| FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit | |
| BLOCK_BODY | |
| WHILE label=null origin=WHILE_LOOP | |
| condition: ERROR_EXPR 'Unbound loop: break@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing | |
| body: BLOCK type=kotlin.Unit origin=null | |
| WHILE label=null origin=WHILE_LOOP | |
| condition: ERROR_EXPR 'Unbound loop: continue@@@[ERROR_EXPR(Cannot bind unlabeled jump to a loop)] ' type=kotlin.Nothing | |
| body: BLOCK type=kotlin.Unit origin=null |