I was just playing around in Infiltrator and stumbled on this:
Shouldn’t this be impossible?
I have 2 other anonymous functions used in the script. Probably dozens if not hundreds in the packages I’m using.
Couldn’t reproduce it.
I was just playing around in Infiltrator and stumbled on this:
Shouldn’t this be impossible?
I have 2 other anonymous functions used in the script. Probably dozens if not hundreds in the packages I’m using.
Couldn’t reproduce it.
It’s hard for anyone to help if you don’t give runnable code with a reproducible example.
As a general comment, a lot of non-reproducible weird errors occur when people run in a Julia environment that they broke somehow, e.g. by redefining some Base function. So they disappear when you restart Julia and run the same code in a clean process.
In this particular case, I wouldn’t be surprised if it’s an Infiltrator.jl bug in how it sets up its temporary anonymous module (which is distinct from the concept of an anonymous function).