Retain data flow info after 'for' loop range expressions

This commit is contained in:
Alexander Udalov
2012-11-13 18:47:00 +04:00
parent 0b1c87a812
commit d629fe2d91
3 changed files with 16 additions and 2 deletions
@@ -1231,6 +1231,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/For.kt");
}
@TestMetadata("ForLoopRange.kt")
public void testForLoopRange() throws Exception {
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/ForLoopRange.kt");
}
@TestMetadata("FunctionLiteral.kt")
public void testFunctionLiteral() throws Exception {
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/FunctionLiteral.kt");