JVM_IR: reuse same bodies for suspend funs and $$forInline versions

This commit is contained in:
pyos
2020-03-04 13:37:20 +01:00
committed by Ilmir Usmanov
parent 8945d5a0df
commit 5ed845d0b4
16 changed files with 152 additions and 97 deletions
@@ -3898,6 +3898,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/suspend/nestedMethodWith2XParameter.kt");
}
@TestMetadata("nonLocalReturn.kt")
public void testNonLocalReturn() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/nonLocalReturn.kt");
}
@TestMetadata("nonSuspendCrossinline.kt")
public void testNonSuspendCrossinline_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/nonSuspendCrossinline.kt", "kotlin.coroutines.experimental");