[Issue 7658] [CTFE] assignment to reference in foreach fails without error message

2012-11-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7658


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||FIXED


--- Comment #2 from yebblies  2012-11-02 17:59:10 EST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/b52dca5a53def60352dbcbf4f398c10abb2cb6b1
Fix issue 8498 modifying foreach range iterator fails in CTFE

This was caused by ignoring assignment to ref variables.
(These guys can only be created by the inliner, or by lowering,
such as happens in foreach).

Also fixes bug 7658: assignment to ref in foreach.
Also fixes bug 8539: nested functions, ref parameter, -inline.

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


[Issue 7658] [CTFE] assignment to reference in foreach fails without error message

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7658


SHOO  changed:

   What|Removed |Added

 CC||zan77...@nifty.com


--- Comment #1 from SHOO  2012-10-08 07:41:36 PDT ---
*** Issue 8773 has been marked as a duplicate of this issue. ***

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