FIR2IR: make the scope of body of do-while loop transparent

This commit is contained in:
Jinseong Jeon
2020-08-09 22:54:33 -07:00
committed by Mikhail Glukhikh
parent 1b6c4329d2
commit e9659d9c8a
7 changed files with 19 additions and 13 deletions
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/localVarInDoWhile.kt
FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY
DO_WHILE label=null origin=DO_WHILE_LOOP
body: BLOCK type=kotlin.Unit origin=null
body: COMPOSITE type=kotlin.Unit origin=DO_WHILE_LOOP
VAR name:x type:kotlin.Int [val]
CONST Int type=kotlin.Int value=42
condition: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ