← Back to index
|
Original Bugzilla link
Bug 18677 – std.datetime.date.Date has opCmp but no toHash
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-03-28T13:16:27Z
Last change time
2018-03-29T13:21:09Z
Assigned to
No Owner
Creator
Jack Stouffer
Blocks
17206
Comments
Comment #0
by jack — 2018-03-28T13:16:27Z
Comment #1
by issues.dlang — 2018-03-28T17:14:32Z
Why does it matter if opCmp is defined and not toHash? It's if opEquals is defined that toHash is required, not opCmp.
Comment #2
by jack — 2018-03-29T13:21:09Z
https://github.com/dlang-community/D-Scanner/issues/575