diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java index 8a37f814e74..0dff6c2b704 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirBlackBoxCodegenBasedTestGenerated.java @@ -19726,6 +19726,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo 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 { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java index 5a541f2ed3d..beb723692bd 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirReversedBlackBoxCodegenBasedTestGenerated.java @@ -19726,6 +19726,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi 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 { diff --git a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrVisitor.kt b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrVisitor.kt index 9b0343b4f23..b9a4d617a4f 100644 --- a/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrVisitor.kt +++ b/compiler/fir/fir2ir/src/org/jetbrains/kotlin/fir/backend/Fir2IrVisitor.kt @@ -1146,7 +1146,7 @@ class Fir2IrVisitor( } else { val irStatements = mapToIrStatements() val singleStatement = irStatements.singleOrNull() - if (origin?.isLoop != true && singleStatement is IrBlock && + if (singleStatement is IrBlock && (!forceUnitType || singleStatement.type.isUnit()) && (singleStatement.origin == IrStatementOrigin.POSTFIX_INCR || singleStatement.origin == IrStatementOrigin.POSTFIX_DECR) ) { singleStatement diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java index 3c4f74432b0..c4f2e9d8144 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenTestGenerated.java @@ -19455,6 +19455,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr 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 { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java index 702a6907e18..24a7aba4f8b 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated.java @@ -19455,6 +19455,12 @@ public class FirLightTreeBlackBoxCodegenWithIrFakeOverrideGeneratorTestGenerated 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 { diff --git a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java index 54526ad5c53..8d9fd1d7506 100644 --- a/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java +++ b/compiler/fir/fir2ir/tests-gen/org/jetbrains/kotlin/test/runners/codegen/FirPsiBlackBoxCodegenTestGenerated.java @@ -19455,6 +19455,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo 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 { diff --git a/compiler/testData/codegen/box/finally/decrementInFinally.kt b/compiler/testData/codegen/box/finally/decrementInFinally.kt new file mode 100644 index 00000000000..44e19d43f2d --- /dev/null +++ b/compiler/testData/codegen/box/finally/decrementInFinally.kt @@ -0,0 +1,12 @@ +fun box(): String { + var variable = 0 + try { + try { + null!! + } finally { + variable-- + } + } catch (e: NullPointerException) { + return if (variable == -1) "OK" else "Fail" + } +} \ No newline at end of file diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java index 2edbed0ebd8..9cb458356b2 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/JvmAbiConsistencyTestBoxGenerated.java @@ -19455,6 +19455,12 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency 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 { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java index 9593bdcc9eb..aa364685a5f 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/BlackBoxCodegenTestGenerated.java @@ -18609,6 +18609,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest { 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 { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java index 56e67ad05ad..39d2cf6ee53 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenTestGenerated.java @@ -19455,6 +19455,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes 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 { diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java index 5a3573bc1fd..9a6362ca440 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/codegen/IrBlackBoxCodegenWithIrInlinerTestGenerated.java @@ -19455,6 +19455,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack 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 { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 9eea5c86572..7fa4d440cfa 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -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"); diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java index d307570ebaa..9a36db44983 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsCodegenBoxTestGenerated.java @@ -14607,6 +14607,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest { 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 { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java index b6fcba28773..402a759e94a 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/fir/FirJsES6CodegenBoxTestGenerated.java @@ -14607,6 +14607,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT 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 { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java index e9e8f455c22..3f6af4aca58 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsCodegenBoxTestGenerated.java @@ -14607,6 +14607,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest { 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 { diff --git a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java index 51347f5c22e..bf10e5d39c7 100644 --- a/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java +++ b/js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/ir/IrJsES6CodegenBoxTestGenerated.java @@ -14607,6 +14607,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes 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 { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java index 47a4d77539e..f4ef2f8dbea 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestGenerated.java @@ -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 { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java index d6b4d809e9e..d73d766f7fe 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/FirNativeCodegenBoxTestNoPLGenerated.java @@ -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 { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java index e25f35cf2fc..9994b8691b6 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestGenerated.java @@ -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 { diff --git a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java index d6399ae8af5..68c15b3a6f6 100644 --- a/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java +++ b/native/native.tests/tests-gen/org/jetbrains/kotlin/konan/test/blackbox/NativeCodegenBoxTestNoPLGenerated.java @@ -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 { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java index 9214d49b600..67008de3391 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/FirWasmJsCodegenBoxTestGenerated.java @@ -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 { diff --git a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java index 6d258293de9..5b604baece5 100644 --- a/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java +++ b/wasm/wasm.tests/tests-gen/org/jetbrains/kotlin/wasm/test/K1WasmCodegenBoxTestGenerated.java @@ -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 {