Files
kotlin-fork/compiler/testData/debug/stepping/for.kt
T
Sergej Jaskiewicz 0e3f48314a [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.
2022-10-27 09:28:05 +00:00

36 lines
543 B
Kotlin
Vendored

// FILE: test.kt
fun box() {
for (i in 1..3) {
foo(i)
}
}
inline fun foo(n: Int) {}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:4 box
// test.kt:8 box
// test.kt:3 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:3 box
// test.kt:6 box