[Test] Add test for KT-42995
This commit is contained in:
committed by
Space Team
parent
a35b3bfd17
commit
eb041d5d6d
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user