I stumbled on
Base.@kwdef on Julia v1.1 and find it quite helpful and reduces a ton of boilerplate for my large types with lots of default values.
I started using it in my packages, but tests fail on Julia v1.0. It turns out (I guess),
Base.@kwdef was introduced in Julia v1.1.
Is there a chance this could get backported (if that is the right word?) to Julia v1.0?
I’m hesitant to use it if it means I need to use Compat.jl or something