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
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.
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.
The text was updated successfully, but these errors were encountered:
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 structMyStruct = 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.The text was updated successfully, but these errors were encountered: