timholy / Revise.jl

Automatically update function definitions in a running Julia session
https://timholy.github.io/Revise.jl/stable
Other
1.21k stars 110 forks source link

LinearAlgebra not being tracked on nightly #808

Open jishnub opened 8 months ago

jishnub commented 8 months ago

This is a bit of a strange issue that I'm facing, but the following works on the release-1.10 branch of julia but not on master:

julia> using LinearAlgebra

julia> Revise.track(LinearAlgebra)

Now add temp(x) = x to LinearAlgebra, and run

julia> LinearAlgebra.temp(2)
2

The change is being picked up.

However, on master, I find

julia> LinearAlgebra.temp(2)
ERROR: UndefVarError: `temp` not defined in `LinearAlgebra`
Suggestion: check for spelling errors or missing imports.
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:42
 [2] top-level scope
   @ REPL[3]:1

julia> VERSION
v"1.12.0-DEV.147"