--- Comment #12 from 2012-06-16 05:07:21 PDT ---
(In reply to comment #10)

> They are the phases to change behavior.

I see.

> I think we should allow modifying loop
> variable in foreach body, but it should not affect to iteration.

Generally changing the iteration variable isnt't a very good idea. It looks
bug-prone, like modifying function arguments inside functions :-)

foreach (i; 0 .. 10) { i++; writeln(i); }

> So there is no
> code that changes the foreach-on-range iteration variable.


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to