Closed janckerchen closed 1 week ago
After recloning the entire project and recompiling, the issue disappeared—very strange.
this can happen if you loaded julia with env vars different from when precompilation was done
specifically the env var:
JULIA_NOPRECOMP
# these modules code is evaluated (eval
) at runtime, ensure it's empty
Another possible cause is the fact that SimpleStrategy
uses default_load
which calls invokelatest
https://github.com/panifie/PingPong.jl/blob/3326d57cc8b8fcaeb66e5fc8b2d1c6a5342837dd/Strategies/src/load.jl#L136
don't remember if invokelatest
is actually necessary here
I did change JULIA_NOPRECOMP
, maybe after revert the code, I didn't restart vscode and .envrc
didn't take effect again (you need to start with code .
from the terminal in order to inherit the .envrc
environment variable in vscode)
pull last commit and test SimpleStrategy failed.