JS: coroutines: fix inlining of suspend functions

This commit is contained in:
Alexey Andreev
2016-11-21 16:44:56 +03:00
parent 8b9852edec
commit e44edf12e0
6 changed files with 30 additions and 36 deletions
@@ -1,5 +1,8 @@
// WITH_RUNTIME
// WITH_REFLECT
// CHECK_NOT_CALLED: suspendInline_die06n$
// CHECK_NOT_CALLED: suspendInline_nesahw$
// CHECK_NOT_CALLED: suspendInline_grpnnl$
class Controller {
fun withValue(v: String, x: Continuation<String>) {
x.resume(v)