http://d.puremagic.com/issues/show_bug.cgi?id=6652


Kenji Hara <k.hara...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Platform|Other                       |All
         OS/Version|FreeBSD                     |All


--- Comment #8 from Kenji Hara <k.hara...@gmail.com> 2012-06-15 10:22:02 PDT ---
I've opened three pulls:
https://github.com/D-Programming-Language/dmd/pull/1008
https://github.com/D-Programming-Language/dmd/pull/1009
https://github.com/D-Programming-Language/dmd/pull/1010

To reduce breaking of existing codes,
1. Warn to modifying loop variable in foreach body.
   It is shown only when -w switch is specified.
2. Deprecate modifying loop variable in foreach body.
   If user specifies -d switch, it is allowed.
3. Allow modifying loop variable in foreach body, and it does not affect to
   the number of iterations of the loop.

How about?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to