[FIR] Complete data-flow analysis for all control-flow graph nodes
There are conditions where the data-flow analysis for a control-flow graph node is delayed. Make sure that when completing a graph, all nodes within the graph have completed their data-flow analysis. ^KT-61794 Fixed
This commit is contained in:
+6
@@ -6984,6 +6984,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInCatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignmentInLambda.kt")
|
||||
public void testReassignmentInLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignmentInTryCatch.kt")
|
||||
public void testReassignmentInTryCatch() throws Exception {
|
||||
|
||||
+6
@@ -6990,6 +6990,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInCatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignmentInLambda.kt")
|
||||
public void testReassignmentInLambda() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/reassignmentInLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignmentInTryCatch.kt")
|
||||
public void testReassignmentInTryCatch() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user