472ec72eb9
1. Move tests to their own module 2. Avoid sharing the 'tinyApp' project between tests 3. Clean up option directive handling
24 lines
361 B
Kotlin
Vendored
24 lines
361 B
Kotlin
Vendored
// ATTACH_LIBRARY: coroutines
|
|
|
|
package stopInCrossinlineInSuspend
|
|
|
|
import forTests.builder
|
|
|
|
fun main(args: Array<String>) {
|
|
val a = 12
|
|
|
|
builder {
|
|
ci {
|
|
{
|
|
//Breakpoint!
|
|
foo(a)
|
|
}()
|
|
}
|
|
}
|
|
}
|
|
|
|
fun foo(a: Any? = null) {}
|
|
|
|
inline fun ci(crossinline builder: () -> Unit) {
|
|
builder()
|
|
} |