JS: refactor coroutines to support inlining of suspend functions

This commit is contained in:
Alexey Andreev
2016-11-08 16:07:53 +03:00
parent e56d735723
commit 2cc299fb40
10 changed files with 193 additions and 79 deletions
@@ -1,6 +1,5 @@
// WITH_RUNTIME
// WITH_REFLECT
// TARGET_BACKEND: JVM
class Controller {
fun withValue(v: String, x: Continuation<String>) {
x.resume(v)