[FIR2IR] Fix unwrapping of single-statement blocks

Unwrapping should be done with respect to `forceUnitType` parameter.

^KT-65019: Fixed
This commit is contained in:
vladislav.grechko
2024-01-16 14:16:46 +01:00
committed by Space Team
parent 5b7478c0a6
commit 8b1d87848d
22 changed files with 132 additions and 1 deletions
@@ -16237,6 +16237,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/finally/continueAndOuterFinally.kt");
}
@TestMetadata("decrementInFinally.kt")
public void testDecrementInFinally() throws Exception {
runTest("compiler/testData/codegen/box/finally/decrementInFinally.kt");
}
@TestMetadata("finallyAndFinally.kt")
public void testFinallyAndFinally() throws Exception {
runTest("compiler/testData/codegen/box/finally/finallyAndFinally.kt");