[Issue 16974] [REG2.068] Equal associative arrays with associative array keys are considered unequal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 27 16:09:57 PST 2016


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

--- Comment #6 from github-bugzilla at puremagic.com ---
Commits pushed to stable at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/5cc28431b92d6849ef7758d200f714f5aee996f3
Fix Issue 16974 - Equal associative arrays with associative array keys are
considered unequal

Use correct overload of `hashOf` in `_aaGetHash`.

This incorrect usage is possible because of Issue 16973 - `hashOf` has
error-prone signature as `(T, seed)` may be confused with `(ptr, length)` [1].

[1] https://issues.dlang.org/show_bug.cgi?id=16973

https://github.com/dlang/druntime/commit/d57fdb116ebb9dc1a7c0f1983c253db58dbbc22b
Merge pull request #1715 from denis-sh/fix-Issue-16974

[REG2.068] Fix Issue 16974 - Equal associative arrays with associative array
keys are considered unequal

--


More information about the Digitalmars-d-bugs mailing list