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

Replacing a Julia module is not handled well #1044

Open
fingolfin opened this issue Sep 19, 2024 · 0 comments · May be fixed by #1045
Open

Replacing a Julia module is not handled well #1044

fingolfin opened this issue Sep 19, 2024 · 0 comments · May be fixed by #1045

Comments

@fingolfin
Copy link
Member

I just run into this while testing some code:

gap> JuliaEvalString("module foo  x = 1 end");
<Julia: Main.foo>
gap> Julia.foo.x;
1
gap> JuliaEvalString("module foo  x = 2 end");
WARNING: replacing module foo.
<Julia: Main.foo>
gap> Julia.foo.x;
1

So what happens is that Julia.foo is cached, and so is not updated when the underlying module changes. We should deal with that better.

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

Successfully merging a pull request may close this issue.

1 participant