foreach loop variable shouldn't be visible from the loop expression (IDEA-55859)

This commit is contained in:
peter
2011-03-03 20:07:54 +01:00
parent 588f929005
commit f145812a77
5 changed files with 12 additions and 11 deletions
@@ -181,7 +181,7 @@ public class a {
}
void forEachParam(java.io.File x) {
for (java.io.File f: <error descr="Variable 'f' might not have been initialized">f</error>.listFiles()) {
for (java.io.File f: <error descr="Cannot resolve symbol 'f'">f</error>.listFiles()) {
forEachParam(f);
}
}