472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
25 lines
349 B
Kotlin
Vendored
25 lines
349 B
Kotlin
Vendored
// ATTACH_LIBRARY: coroutines
|
|
|
|
package stopInSuspendFunctionWithSuspendPoints
|
|
|
|
import forTests.builder
|
|
|
|
fun foo(a: Any) {}
|
|
|
|
suspend fun second() {
|
|
}
|
|
|
|
suspend fun first() {
|
|
foo("first")
|
|
|
|
second()
|
|
|
|
//Breakpoint!
|
|
foo("second")
|
|
}
|
|
|
|
fun main(args: Array<String>) {
|
|
builder {
|
|
first()
|
|
}
|
|
} |