-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
eval in __init__ causes incorrect precompilation warning #29059
Comments
I don't think it's actually evaluating in the wrong module; I suspect the error message is inaccurate. Could you confirm whether |
It ends up in the correct module ( |
IIRC, this error message has the modules swapped for some reason? @vtjnash, I think you mentioned that to me once but maybe I was misunderstanding. |
"eval from B to A" is supposed to mean that module B did an |
Yes, that's what the code looks like (some module A wants to inject an eval result into the file for B, but that will fail and emit a bad |
This comment has been minimized.
This comment has been minimized.
Those are not problems and are unrelated. |
Noticed in a couple of packages since precompile is on by default. Setup:
and then
See e.g. JuliaDocs/Documenter.jl#806
The text was updated successfully, but these errors were encountered: