Introduce 'coroutine'/'suspend' modifiers

This commit is contained in:
Denis Zharkov
2016-05-16 18:39:02 +03:00
parent 38d74a16fe
commit 329fb9d619
62 changed files with 263 additions and 17 deletions
@@ -17,4 +17,8 @@ data class Modifiers(val x: Int) {
override operator fun equals(other: Any?) = false
annotation class Ann
}
suspend fun suspend(x: Continuation<Int>) {}
fun builder(coroutine c: Any.() -> Continuation<Unit>) {}
}