Files
kotlin-fork/compiler/testData/debug/stepping/suspendFunWithLambdaParameter.kt
T

20 lines
286 B
Kotlin
Vendored

// WITH_COROUTINES
// FILE: test.kt
suspend fun foo(block: Long.() -> String): String {
return 1L.block()
}
suspend fun box() {
foo {
"OK"
}
}
// LINENUMBERS
// test.kt:8 box
// test.kt:4 foo
// test.kt:9 invoke
// test.kt:4 foo
// test.kt:8 box
// test.kt:11 box