Retain data flow info after conditions in while-statements

This commit is contained in:
Alexander Udalov
2012-11-13 18:25:11 +04:00
parent ae77bf0a4e
commit b0e9c7aab7
3 changed files with 32 additions and 7 deletions
@@ -1301,6 +1301,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/While.kt");
}
@TestMetadata("WhileCondition.kt")
public void testWhileCondition() throws Exception {
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/WhileCondition.kt");
}
}
@TestMetadata("compiler/testData/diagnostics/tests/declarationChecks")