JVM IR: Do not unbox Results in suspend lambda invoke methods (KT-46813)

This commit is contained in:
Steven Schäfer
2021-05-19 18:50:47 +02:00
committed by Ilmir Usmanov
parent ff3f3d2f9b
commit 984e912f8d
9 changed files with 64 additions and 1 deletions
@@ -6423,6 +6423,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/coroutines/kt45377.kt");
}
@TestMetadata("kt46813.kt")
public void testKt46813() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt46813.kt");
}
@TestMetadata("lastExpressionIsLoop.kt")
public void testLastExpressionIsLoop() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt");
@@ -5829,6 +5829,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt45377.kt");
}
@TestMetadata("kt46813.kt")
public void testKt46813() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt46813.kt");
}
@TestMetadata("lastExpressionIsLoop.kt")
public void testLastExpressionIsLoop() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt");
@@ -5829,6 +5829,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/coroutines/kt45377.kt");
}
@TestMetadata("kt46813.kt")
public void testKt46813() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/kt46813.kt");
}
@TestMetadata("lastExpressionIsLoop.kt")
public void testLastExpressionIsLoop() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/lastExpressionIsLoop.kt");