[JVM_IR] Fix stepping behavior for assignments to local variables.

This commit is contained in:
Mads Ager
2020-05-28 15:05:18 +02:00
committed by max-kammerer
parent 543efffa5c
commit 1124887aa0
11 changed files with 116 additions and 25 deletions
+15 -2
View File
@@ -4,6 +4,11 @@ fun box() {
f {
x = true
}
var y =
true
f {
y = false
}
}
inline fun f(block: () -> Unit) {
@@ -13,8 +18,16 @@ inline fun f(block: () -> Unit) {
// LINENUMBERS
// test.kt:3 box
// test.kt:4 box
// test.kt:10 box
// test.kt:15 box
// test.kt:5 box
// test.kt:6 box
// test.kt:11 box
// test.kt:16 box
// test.kt:7 box
// test.kt:8 box
// test.kt:7 box
// test.kt:9 box
// test.kt:15 box
// test.kt:10 box
// test.kt:11 box
// test.kt:16 box
// test.kt:12 box