Hello,
I found this problem when I tried using Dates.Time
as dictionary keys:
julia> a = Dates.Time(0)
00:00:00
julia> b = Dates.Time(0) + Dates.Hour(24)
00:00:00
julia> a == b
true
julia> isequal(a, b)
true
julia> hash(a) == hash(b)
false
Documentation says that isequal(x, y)
should imply hash(x) == hash(y)
so I think this needs to be fixed.
Am I correct? Should I open an issue (or PR) on Github?