[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
Generated
+6
@@ -14583,6 +14583,12 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo
|
||||
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 {
|
||||
|
||||
Generated
+6
@@ -14583,6 +14583,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
|
||||
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