You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eval and include both produce confusing behaviour. I don't think they can be easily fixed without a major rewrite, but the alternatives are relatively painless!
The alternative to eval(expr) is Core.eval(Main, expr) or better yet:
🏠 =Module()
Core.eval(🏠, expr)
because this avoids an implicit state in most cases.
The alternative to include(path) is still WIP, but it will look like #115 (comment)
Deprecating these two essentially means that your code is running in a baremodule (with using Base) instead of a module. Coincidence?
The text was updated successfully, but these errors were encountered:
eval
andinclude
both produce confusing behaviour. I don't think they can be easily fixed without a major rewrite, but the alternatives are relatively painless!The alternative to
eval(expr)
isCore.eval(Main, expr)
or better yet:because this avoids an implicit state in most cases.
The alternative to
include(path)
is still WIP, but it will look like #115 (comment)Deprecating these two essentially means that your code is running in a
baremodule
(withusing Base
) instead of amodule
. Coincidence?The text was updated successfully, but these errors were encountered: