JS: fix noInline version of inline suspend fun (KT-27611 fixed)

This commit is contained in:
Anton Bannykh
2018-10-19 14:56:55 +03:00
parent 455db32199
commit 829bdf6061
11 changed files with 145 additions and 66 deletions
@@ -907,6 +907,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
public void testNativeExceptions() throws Exception {
runTest("js/js.translator/testData/box/coroutines/nativeExceptions.kt");
}
@TestMetadata("onlyInlineSuspendFunction.kt")
public void testOnlyInlineSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/onlyInlineSuspendFunction.kt");
}
}
@TestMetadata("js/js.translator/testData/box/crossModuleRef")
@@ -907,6 +907,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
public void testNativeExceptions() throws Exception {
runTest("js/js.translator/testData/box/coroutines/nativeExceptions.kt");
}
@TestMetadata("onlyInlineSuspendFunction.kt")
public void testOnlyInlineSuspendFunction() throws Exception {
runTest("js/js.translator/testData/box/coroutines/onlyInlineSuspendFunction.kt");
}
}
@TestMetadata("js/js.translator/testData/box/crossModuleRef")