You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
gafter
changed the title
Rewrite inner ctors to use the inner ctor that I wrote instead of new.
When cacheing, rewrite existing inner ctors to use the inner ctor that is generated instead of new.
Aug 18, 2023
gafter
transferred this issue from JuliaServices/AutoHashEqualsCached.jl
Aug 18, 2023
This can be used to address comments in raicode such as
# TODO Once AutoHashEquals supports inner constructors with typed arguments, we can use
# @auto_hash_equals cache=true hashfn=xxxxx typearg=false typeseed=yyyyy compat1=true struct Zzzzz
# ...
# end
# Note that current `@auto_hash_equals` will then define new methods for both
# `xxxxx` and `Base.hash` for `Zzzzz` in terms of `xxxxx`
See https://github.com/RelationalAI-oss/MuttsInterface.jl/blob/master/src/MuttsInterface.jl for one way to do it.
The text was updated successfully, but these errors were encountered: