JS: replace suspend inline metadata after inlining

This fixes some issues on coroutine inlining, see tests
This commit is contained in:
Alexey Andreev
2017-11-03 14:35:39 +03:00
parent f8e7861ce6
commit 71b1591044
21 changed files with 344 additions and 60 deletions
@@ -75,6 +75,9 @@ Kotlin.coroutineController = function(qualifier) {
Kotlin.coroutineReceiver = function(qualifier) {
};
Kotlin.setCoroutineResult = function(value, qualifier) {
};
Kotlin.getFunctionById = function(id, defaultValue) {
return function() {
return defaultValue;