[FIR2IR] Fix unwrapping of single-statement blocks
Unwrapping should be done with respect to `forceUnitType` parameter. ^KT-65019: Fixed
This commit is contained in:
committed by
Space Team
parent
5b7478c0a6
commit
8b1d87848d
+6
@@ -16472,6 +16472,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/finally/continueAndOuterFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("decrementInFinally.kt")
|
||||
public void testDecrementInFinally() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/decrementInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("finallyAndFinally.kt")
|
||||
public void testFinallyAndFinally() throws Exception {
|
||||
|
||||
+6
@@ -16858,6 +16858,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/finally/continueAndOuterFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("decrementInFinally.kt")
|
||||
public void testDecrementInFinally() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/decrementInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("finallyAndFinally.kt")
|
||||
public void testFinallyAndFinally() throws Exception {
|
||||
|
||||
+6
@@ -16086,6 +16086,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/finally/continueAndOuterFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("decrementInFinally.kt")
|
||||
public void testDecrementInFinally() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/decrementInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("finallyAndFinally.kt")
|
||||
public void testFinallyAndFinally() throws Exception {
|
||||
|
||||
+6
@@ -16473,6 +16473,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/finally/continueAndOuterFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("decrementInFinally.kt")
|
||||
public void testDecrementInFinally() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/finally/decrementInFinally.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("finallyAndFinally.kt")
|
||||
public void testFinallyAndFinally() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user