Cannot hash a std.datetime.Date
Seb
seb at wilzba.ch
Tue Jun 19 02:15:46 UTC 2018
On Sunday, 17 June 2018 at 18:15:19 UTC, Per Nordlöw wrote:
> The following
>
> unittest
> {
> import std.datetime.date : Date;
> Date date;
> import core.internal.hash : hashOf;
> auto hash = date.hashOf;
> }
>
> [...]
Well it definitely used to work before:
https://run.dlang.io/is/ayjpcH
I opened an issue for you:
https://issues.dlang.org/show_bug.cgi?id=19005
The PR that introduced this regression was
https://github.com/dlang/druntime/pull/2200
More information about the Digitalmars-d
mailing list