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
This might be intentional, I'm not sure (please close if so):
julia>using BaseBenchmarks # BaseBenchmarks loads BenchmarkTools via `using`
julia> BenchmarkTools # BenchmarkTools is available in Main
BenchmarkTools
julia>module A
using BaseBenchmarks
println(BenchmarkTools)
end
ERROR: UndefVarError: BenchmarkTools not defined
Alternatively, with a fresh REPL:
julia>module A
using BaseBenchmarks
end
A
julia> BaseBenchmarks
BaseBenchmarks
I would expect an UnderVarError to be thrown in all cases. I guess the required packages' modules are all getting loaded into Main when the package is loaded, which is why they're all visible?
The text was updated successfully, but these errors were encountered:
This might be intentional, I'm not sure (please close if so):
Alternatively, with a fresh REPL:
I would expect an
UnderVarError
to be thrown in all cases. I guess the required packages' modules are all getting loaded into Main when the package is loaded, which is why they're all visible?The text was updated successfully, but these errors were encountered: