e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
23 lines
501 B
Kotlin
Vendored
23 lines
501 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// FILE: test.kt
|
|
suspend fun foo(block: suspend Long.() -> String): String {
|
|
return 1L.block()
|
|
}
|
|
|
|
suspend fun box() {
|
|
foo {
|
|
"OK"
|
|
}
|
|
}
|
|
|
|
// This is the actual unfortunate stepping behavior in intellij.
|
|
// There is a class exclusion filter for anything in the kotlin package.
|
|
// That means that we never step into the lambda as that is only
|
|
// called via code in the kotlin package.
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:8 box
|
|
// test.kt:4 foo
|
|
// test.kt:8 box
|
|
// test.kt:11 box
|