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,10 @@
|
||||
// FIR_IDENTICAL
|
||||
fun foo() {
|
||||
var i = 1
|
||||
while (i < 10) {
|
||||
bar()
|
||||
i = i.inc()
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() {}
|
||||
Reference in New Issue
Block a user