I was just looking at some tests that use
detect_ambiguities and notice it was printing
Digging around a bit, I found that this is likely due to a stale export. Is that the case here?
This is showing up in
detect_ambiguities(AbstractTrees, Base, Core)
I can’t replicate this with
v"1.2.0-DEV.309" and the latest
AbstractTrees, I just get an array with 21 elements.
This is because
Base.active_repl is only defined if the REPL is running.
pkg> test AbstractTrees
count as running in the REPL?
Interesting. Yeah. I do not see this when running the command directly in the REPL, but it appears when running the test (from the REPL).
Here is the actual code (hasn’t been merged yet):
Interesting. I was running on v1.1 and it was empty
Resolving package versions...
Testing AbstractTrees tests passed
Pkg spins up a brand new, separate
julia instance to run package tests (so that way your state in the REPL doesn’t affect the tests). Use
include("AbstractTrees.jl/test/runtests.jl") (or whatever) to actually run the code in the same Julia session as your REPL.