[FIR] Ignore CFA-only edges in DFA even if they are dead

^KT-53920 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-10-17 12:10:08 +03:00
committed by Space Team
parent 0eb34983cb
commit fa9f0bcf84
8 changed files with 52 additions and 12 deletions
@@ -1075,6 +1075,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/cfg/annotatedLocalClass.kt");
}
@Test
@TestMetadata("anonymousObjectInUnreachableCode.kt")
public void testAnonymousObjectInUnreachableCode() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/cfg/anonymousObjectInUnreachableCode.kt");
}
@Test
@TestMetadata("binaryOperations.kt")
public void testBinaryOperations() throws Exception {