Neal Gafter
Neal Gafter
This will allow `raicode` to eliminate this comment: ``` # @auto_hash_equals is incompatible with @kwdef, so we have to roll our hash and equality. ```
The problem is that the block might be the result of applying a macro to the struct, and there might be a `LineNumberNode` in there when it is the result...
@NHDaly Asserting that there is only one struct would break this package's ability to interoperate with another hypothetical macro that produces a utility type during its expansion (inside `begin` ......
For customizing Julia's base serialization, I think one needs to specialize - `Serialization.serialize(s::AbstractSerializer, md::TypeToDeserialize)` - `Serialization.deserialize(s::AbstractSerializer, T::Type{TypeToDeserialize})` See also - `raicode/packages/MuttsDicts/src/serialization.jl` - https://docs.juliahub.com/JLD2/O1EyT/0.4.31/customserialization/
This is a slightly breaking change. The following no longer runs: ``` @auto_hash_equals_cached struct S268 x::Int end @assert S268(2.0).x === 2 # MethodError: no method matching Main.A.S268(::Float64) @auto_hash_equals_cached struct S269{T
~~@mcmcgrath13 The repl has different behavior than the language elsewhere. I think this is documented somewhere. To see the "proper" Julia behavior, you need to put the code in a...
I have offered to fix Julia's documentation at https://github.com/JuliaLang/julia/pull/51253. Whatever the correct specification of the correct behavior of Julia is, this package should 1. Imitate that behavior when no inner...
@timholy What is wrong with the current behavior is that it defines one constructor method rather than two. The default constructor has two methods. `convert` is already performed by the...
@timholy The current behavior of `AutoHashEquals` is incorrect *because* it doesn't provide a set of constructors that are semantically equivalent to the default ones. This issue asks that to be...
I don't think XML documentation is loaded by the compiler for metadata references. If I'm right, this would be a feature request to start loading them. Marking as Investigation Required...