mauro3/Parameters.jl

Struct redefinition yields `LoadError`

abehersan opened this issue · 0 comments

This issue is general of Julia, i.e. if one messes up a struct definition and wants to correct it, one either must define the struct under a different name or restart the Julia session entirely.

Not even Revise.jl nor setting the struct MyStruct = nothing works, see JuliaLang/julia#32227 (comment).

Maybe this could be made explicit in the manual of Parameters.jl since it depends so heavily on structs and struct definitions? It was definitely an annoying gotcha moment for me.