Files
kotlin-fork/compiler/testData/ir/irText/declarations/localVarInDoWhile.fir.kt.txt
T
Jinseong Jeon 7898d167f3 FIR2IR: wrap do-while loop in IrBlock
"so that variables declared in loop body are not visible outside of the
loop" (from commit d096f1d)
2021-04-01 20:07:47 +03:00

8 lines
124 B
Plaintext
Vendored

fun foo() {
{ // BLOCK
do// COMPOSITE {
val x: Int = 42
// } while (EQEQ(arg0 = x, arg1 = 42).not())
}
}