[JS IR] Improve stepping test executor

Don't search for box function in the generated code;
instead, stop the execution right before calling it.

This makes stepping tests more accurate.
This commit is contained in:
Sergej Jaskiewicz
2022-10-26 17:18:09 +02:00
committed by Space Team
parent edd0e5e0bf
commit 0e3f48314a
16 changed files with 138 additions and 130 deletions
+3 -5
View File
@@ -33,10 +33,10 @@ val jesse1VarDecl = "var jesse1 = _.exclamate(jesse);"
// FILE: test.kt
fun noop() {}
fun box() {
noop()
exclamateAndConcat(
"hello",
"world")
@@ -56,8 +56,6 @@ fun box() {
}
// EXPECTATIONS
// test.kt:39 box
// test.kt:36 noop
// test.kt:41 box
// test.kt:42 box
// a.kt:11 box
@@ -79,4 +77,4 @@ fun box() {
// a.kt:6 exclamate
// a.kt:29 box
// a.kt:22 value
// test.kt:56 box
// test.kt:56 box