We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import InteractiveUtils
startup.jl
The isdefined check here returns true if there is an import InteractiveUtils in startup.jl
isdefined
true
julia/base/client.jl
Line 357 in 1887550
The behavior of isdefined is expected, but the behavior of load_InteractiveUtils is not. Is the check even needed?
load_InteractiveUtils
The text was updated successfully, but these errors were encountered:
So to be clear, the point is that e.g the unqualified @code_warntype will stop working in the REPL because the using statement will not be run?
@code_warntype
using
Sorry, something went wrong.
e.g the unqualified @code_warntype will stop working in the REPL because the using statement will not be run
Yes, exactly. same with e.g. @edit, @which, etc. Thank you for clarifying.
@edit
@which
Is it necessary to check isdefined(Main, :InteractiveUtils)? At a glance, it seems like that code could run unconditionally.
isdefined(Main, :InteractiveUtils)
If there does need to be a check, it should be a different check.
No branches or pull requests
The
isdefined
check here returnstrue
if there is animport InteractiveUtils
instartup.jl
julia/base/client.jl
Line 357 in 1887550
The behavior of
isdefined
is expected, but the behavior ofload_InteractiveUtils
is not. Is the check even needed?The text was updated successfully, but these errors were encountered: