Support restricted suspend lambdas in JVM_IR

#KT-40135 Fixed
This commit is contained in:
Ilmir Usmanov
2020-07-29 14:49:15 +02:00
parent 2c205410fa
commit fa8c6deb18
7 changed files with 85 additions and 27 deletions
@@ -7005,6 +7005,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/recursiveSuspend.kt", "kotlin.coroutines");
}
@TestMetadata("restrictedSuspendLambda.kt")
public void testRestrictedSuspendLambda() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/restrictedSuspendLambda.kt");
}
@TestMetadata("returnByLabel.kt")
public void testReturnByLabel_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/returnByLabel.kt", "kotlin.coroutines.experimental");