[Issue 3356] Make pure functions require immutable parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 19:11:09 PST 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #12 from Don <clugdbug at yahoo.com.au> 2010-11-08 19:10:03 PST ---
With the relaxed purity rules in DMD2.050, the compiler now internally
distinguishes const pure functions (which was the old meaning of pure) from
immutably pure functions (this issue) and also allows weakly pure.

I don't know whether to mark this as FIXED or WONTFIX.
But since the compiler internally keeps track of immutability pure, I'm marking
as FIXED.

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


More information about the Digitalmars-d-bugs mailing list