Infiltrator.jl
Infiltrator.jl copied to clipboard
Redefining Functions* Results in Error
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.
Seems related to #111
Do you have a MWE for this?