[Issue 8637] Enforcement and purity

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 10 09:07:19 PDT 2012


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #5 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-10 09:07:50 PDT ---
Both the annotation for pure and @safe need to go, because T's destructor and
opCast could be impure or non- at safe. When the explicit annotations were added,
clearly the destructor and opCast were not taken into account, since they're
not called directly and are easily forgotten.

-- 
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