Closed ssfrr closed 1 year ago
looks like
StableHashTraits.hash_method(::Base.Pairs) = UseIterate()
should work. I'll test things out a bit more and can put in a PR if no one gets to it first.
Probably slightly better to do
StableHashTraits.hash_method(::AbstractDict) = UseIterate()
so that dictionaries as a whole are covered because Base.Pairs <: AbstractDict
will be closed by #22
Closed by #24
It appears that
stable_hash
doesn't supportPairs
, such as what you get from keyword argument splatting.