0e3f48314a
Don't search for box function in the generated code; instead, stop the execution right before calling it. This makes stepping tests more accurate.
36 lines
543 B
Kotlin
Vendored
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
|