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


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |kenn...@gmail.com
           Platform|x86                         |All
         OS/Version|Windows                     |All


--- Comment #1 from kenn...@gmail.com 2011-07-30 23:53:15 PDT ---
I believe this is a rejects-valid. My pull request* to revert the unnecessarily
strict purity check allows this.

You could also just make `x` immutable instead of const.

*: https://github.com/D-Programming-Language/dmd/pull/243

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

Reply via email to