FIR CFG: merge data flow if called-in-place lambda may not be called

This commit is contained in:
pyos
2022-06-30 11:26:32 +02:00
committed by Dmitriy Novozhilov
parent 06c7572ee5
commit 5a2ec4a0d5
23 changed files with 594 additions and 129 deletions
@@ -1105,6 +1105,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/cfg/flowFromInplaceLambda2.kt");
}
@Test
@TestMetadata("flowFromInplaceLambda3.kt")
public void testFlowFromInplaceLambda3() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/cfg/flowFromInplaceLambda3.kt");
}
@Test
@TestMetadata("flowFromTwoInplaceLambdas.kt")
public void testFlowFromTwoInplaceLambdas() throws Exception {