FIR2IR: fix origin calculation for explicit inc/dec calls
This commit is contained in:
committed by
Space Team
parent
f8ca440e96
commit
39406710b2
@@ -0,0 +1,11 @@
|
||||
fun foo() {
|
||||
var i: Int = 1
|
||||
while (less(arg0 = i, arg1 = 10)) { // BLOCK
|
||||
bar()
|
||||
i = i.inc()
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user