[Issue 7826] [D2 Beta] Cannot use getHash in toHash without a warning

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 6 00:34:28 PDT 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-04-06 00:35:06 PDT ---
Clearly if toHash() is required to be pure, getHash() must also be.
But I think it is unreasonable for the compiler to demand that toHash() be
pure, especially at the present time.

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