← Back to index
|
Original Bugzilla link
Bug 18682 – std.typecons.Nullable has opEquals but no toHash
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-03-28T13:22:47Z
Last change time
2018-09-09T19:09:54Z
Assigned to
No Owner
Creator
Jack Stouffer
Blocks
17206
Comments
Comment #0
by jack — 2018-03-28T13:22:47Z
Comment #1
by default_357-line — 2018-08-20T08:23:18Z
This has become urgent with the switch to a transparent union disabling the normal toHash generation mechanism. Fix in a bit.
Comment #2
by github-bugzilla — 2018-09-09T19:09:53Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/b16ae5b8a5aa962d3e689d881dd6c52cf2f2df4e
Fix Issue 18682: Forward Nullable.toHash to contained value, if non-null.
https://github.com/dlang/phobos/commit/a5b1928a6e638cc0d3bcccb27219058e75f46c8d
Merge pull request #6674 from FeepingCreature/fix/Issue-18682-implement-Nullable-toHash [stable] Fix Issue 18682: Forward Nullable.toHash to contained value, if non-null. merged-on-behalf-of: Petar Kirov <
[email protected]
>