FIR2IR: fix origin calculation for explicit inc/dec calls

This commit is contained in:
Mikhail Glukhikh
2023-07-10 11:51:32 +02:00
committed by Space Team
parent f8ca440e96
commit 39406710b2
12 changed files with 102 additions and 23 deletions
@@ -0,0 +1,10 @@
// FIR_IDENTICAL
fun foo() {
var i = 1
while (i < 10) {
bar()
i = i.inc()
}
}
fun bar() {}