[Test] Add test for KT-42995

This commit is contained in:
Dmitriy Novozhilov
2023-07-03 14:40:28 +03:00
committed by Space Team
parent a35b3bfd17
commit eb041d5d6d
7 changed files with 60 additions and 0 deletions
@@ -6612,6 +6612,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/propertiesOrderInPackage.kt");
}
@Test
@TestMetadata("reassignmentInCatch.kt")
public void testReassignmentInCatch() throws Exception {
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInCatch.kt");
}
@Test
@TestMetadata("reassignmentInTryCatch.kt")
public void testReassignmentInTryCatch() throws Exception {
@@ -6618,6 +6618,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/propertiesOrderInPackage.kt");
}
@Test
@TestMetadata("reassignmentInCatch.kt")
public void testReassignmentInCatch() throws Exception {
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInCatch.kt");
}
@Test
@TestMetadata("reassignmentInTryCatch.kt")
public void testReassignmentInTryCatch() throws Exception {