JVM_IR: Also check attributes for suspendImpls when generating continuation

Otherwise, it would not generate continuations for overloads.
This commit is contained in:
Ilmir Usmanov
2019-12-27 16:04:36 +01:00
parent d17afddaa9
commit 4d9d62ad12
9 changed files with 94 additions and 3 deletions
@@ -8458,6 +8458,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallInterface.kt", "kotlin.coroutines");
}
@TestMetadata("superCallOverload.kt")
public void testSuperCallOverload_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallOverload.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("superCallOverload.kt")
public void testSuperCallOverload_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCallOverload.kt", "kotlin.coroutines");
}
@TestMetadata("superCall.kt")
public void testSuperCall_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/suspendFunctionAsCoroutine/superCall.kt", "kotlin.coroutines.experimental");