Control flow analysis: nested finally blocks now appear in correct order in CFG #KT-4764 Fixed

This commit is contained in:
Mikhail Glukhikh
2016-04-19 18:01:08 +03:00
parent a5b428d9ce
commit d24528f6bb
9 changed files with 257 additions and 1 deletions
@@ -106,6 +106,12 @@ public class DataFlowTestGenerated extends AbstractDataFlowTest {
doTest(fileName);
}
@TestMetadata("kt4764.kt")
public void testKt4764() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg-variables/bugs/kt4764.kt");
doTest(fileName);
}
@TestMetadata("referenceToPropertyInitializer.kt")
public void testReferenceToPropertyInitializer() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/cfg-variables/bugs/referenceToPropertyInitializer.kt");