JS: refactor how last argument to suspend call is substituted

This commit is contained in:
Alexey Andreev
2016-11-07 20:38:43 +03:00
parent 050a1e782e
commit e56d735723
9 changed files with 48 additions and 29 deletions
@@ -1,5 +1,6 @@
// WITH_RUNTIME
// WITH_REFLECT
// TARGET_BACKEND: JVM
class Controller {
fun withValue(v: String, x: Continuation<String>) {
x.resume(v)