fixed exponential building of cf graph

if there was en error in chained qualified expression
This commit is contained in:
Svetlana Isakova
2013-12-24 13:59:13 +04:00
committed by Andrey Breslav
parent 7055ce2a1f
commit c3ff6a2430
7 changed files with 692 additions and 19 deletions
@@ -92,6 +92,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest("compiler/testData/cfg/Basic.kt");
}
@TestMetadata("chainedQualifiedExpression.kt")
public void testChainedQualifiedExpression() throws Exception {
doTest("compiler/testData/cfg/chainedQualifiedExpression.kt");
}
@TestMetadata("DelegatedProperty.kt")
public void testDelegatedProperty() throws Exception {
doTest("compiler/testData/cfg/DelegatedProperty.kt");
@@ -187,6 +192,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest("compiler/testData/cfg/propertySafeCall.kt");
}
@TestMetadata("qualifiedExpressionWithoutSelector.kt")
public void testQualifiedExpressionWithoutSelector() throws Exception {
doTest("compiler/testData/cfg/qualifiedExpressionWithoutSelector.kt");
}
@TestMetadata("ReturnFromExpression.kt")
public void testReturnFromExpression() throws Exception {
doTest("compiler/testData/cfg/ReturnFromExpression.kt");