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

Redefining Functions* Results in Error #83

Open
astrobc1 opened this issue Sep 3, 2022 · 2 comments
Open

Redefining Functions* Results in Error #83

astrobc1 opened this issue Sep 3, 2022 · 2 comments
Labels
bug Something isn't working needs more info

Comments

@astrobc1
Copy link

astrobc1 commented Sep 3, 2022

I will try to update this with an explicit example. When using @infiltrate, I frequently experience an error like:

ERROR: cannot declare #1#2 constant; it already has a value Stacktrace: [1] top-level scope @ none:0

Running the exact same code in the debug prompt is typically successful after a few attempts; It might complain again that #3#4 already has a value after an additional try, however it usually results in success after 2-3 more attempts.

Note that this only happens with functions that were already defined before @infiltrate was hit, although it doesn't always happen which is the perplexing bit.

Current version of Infiltrator: v1.6.1
Same error on Julia 1.6.x, 1.7.x, 1.8.0.

@astrobc1 astrobc1 changed the title Redefining Variables Results in Error Redefining Functions* Results in Error Sep 3, 2022
@haberdashPI
Copy link

Seems related to #111

@pfitzseb pfitzseb added the bug Something isn't working label Apr 8, 2024
@pfitzseb
Copy link
Member

pfitzseb commented Apr 8, 2024

Do you have a MWE for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs more info
Projects
None yet
Development

No branches or pull requests

3 participants