Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struct redefinition yields LoadError #156

Open
abehersan opened this issue Oct 11, 2023 · 0 comments
Open

Struct redefinition yields LoadError #156

abehersan opened this issue Oct 11, 2023 · 0 comments

Comments

@abehersan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant