Files
kotlin-fork/compiler/testData/debug/stepping/kt42208b.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

33 lines
568 B
Kotlin
Vendored

// FILE: test.kt
fun box() {
val a = foo()
a()
}
// FILE: test1.kt
// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
inline fun foo() = {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test1.kt:9 box
// test1.kt:10 box
// EXPECTATIONS JVM_IR
// test.kt:4 box
// test.kt:5 box
// test1.kt:10 invoke
// test.kt:5 box
// EXPECTATIONS JVM_IR
// test.kt:6 box
// EXPECTATIONS JVM
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test1.kt:10 box
// test.kt:4 box
// test.kt:5 box
// test1.kt:7 box$lambda
// test.kt:6 box