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
I think the solution for this would be something like https://github.com/FluxML/MacroTools.jl/blob/d1937f95a7e5c82f9cc3b5a4f8a2b33fdb32f884/src/utils.jl#L454-L470 as a preprocessor. I think something like that would normally belong in ExprTools.jl but I think people are also happy that this package currently has no dependencies and it's probably fine to replicate that code in this package for this purpose specifically, if someone ends up needing it.
I don't know why anyone would do this, but it is legal in Julia (at least, the compiler accepts it) and it breaks @auto_hash_equals
These two differently-valued instances of
Q
are treated as equal to each other.The text was updated successfully, but these errors were encountered: