Files
kotlin-fork/compiler/testData/debug/stepping/callableReference.kt
T
2023-08-15 17:03:11 +00:00

34 lines
522 B
Kotlin
Vendored

// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = false
f {
x = true
}
}
fun f(block: () -> Unit) {
block()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:11 f
// test.kt:6 invoke
// test.kt:7 invoke
// test.kt:11 f
// test.kt:12 f
// test.kt:8 box
// EXPECTATIONS JS_IR
// test.kt:4 box
// test.kt:5 box
// test.kt:5 box$lambda
// test.kt:5 box
// test.kt:11 f
// test.kt:6 box$lambda$lambda
// test.kt:7 box$lambda$lambda
// test.kt:12 f
// test.kt:8 box