16 lines
213 B
Kotlin
Vendored
16 lines
213 B
Kotlin
Vendored
class Controller {
|
|
suspend fun suspendHere(x: Continuation<Unit>) {
|
|
}
|
|
}
|
|
|
|
fun builder(coroutine c: Controller.() -> Continuation<Unit>) {
|
|
|
|
}
|
|
|
|
fun foo() {
|
|
builder {
|
|
<caret>suspendHere()
|
|
}
|
|
}
|
|
|