introduce: do not treat as same different foreach vars (IDEA-58421)

This commit is contained in:
anna
2010-10-05 18:48:10 +04:00
parent f04f503a63
commit a4c29ba8ce
4 changed files with 28 additions and 1 deletions
@@ -0,0 +1,11 @@
class A {
{
List<Integer> l = new ArrayList<Integer>();
for (Integer i : l) {
System.out.println(<selection>i.toString()</selection>);
}
for (Integer i : l) {
System.out.println(i.toString());
}
}
}