Open
Description
It was noticed in FluxML/Flux.jl#2107 that Functors.jl + ProtoStruct.jl doesn't work, as Functors uses fieldnames
+ getproperty
, which is overloaded by ProtoStruct.jl.
https://github.com/FluxML/Functors.jl/blob/v0.3.0/src/functor.jl#L11-L16
This is a bug, Functors should use getfield
to be consistent. (Possibly the code was written before getproperty
existed?)
Metadata
Metadata
Assignees
Labels
No labels