[Issue 16764] `hashOf` is misleading, error-prone, and useless

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Dec 3 23:11:34 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16764

joeyemmons at yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joeyemmons at yahoo.com

--- Comment #1 from joeyemmons at yahoo.com ---
Worst part is hashOf used to not work this way, got changed to cast to void[]
when before is just called core.internal.hash.hashOf without messing with the
input. The change is breaking and seems horribly wrong. Seems walter made the
change.

https://github.com/dlang/druntime/commit/267fa2a06289c04200f720019050e7387f5e5a00

--


More information about the Digitalmars-d-bugs mailing list