Functions imported from objects should be properly mapped to "real" suspend function descriptors.

This commit is contained in:
Dmitry Petrov
2017-01-25 16:50:06 +03:00
parent 9d4047f5e4
commit ab2448307e
7 changed files with 106 additions and 5 deletions
@@ -5562,6 +5562,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("suspendFunImportedFromObject.kt")
public void testSuspendFunImportedFromObject() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendFunImportedFromObject.kt");
doTest(fileName);
}
@TestMetadata("suspendInCycle.kt")
public void testSuspendInCycle() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/suspendInCycle.kt");