CodeTracking.jl icon indicating copy to clipboard operation
CodeTracking.jl copied to clipboard

Revise tracking CodeTracking.jl itself

Open chris-b1 opened this issue 1 year ago • 0 comments

It seems that Revise doesn't have the ability track changes functions to in CodeTracking.jl. Is this is fundamental limitation of the architecture due to CodeTracking relying on Revise, or something that could be enabled?

$ julia --startup-file=no

(@v1.10) pkg> activate --temp
(jl_3k5Dzh) pkg> dev CodeTracking
(jl_3k5Dzh) pkg> add Revise

julia> using Revise
julia> using CodeTracking
julia> CodeTracking.is_func_expr(:(a -> a + 1))
true

julia> @edit CodeTracking.is_func_expr(:(a -> a + 1))
# add a println statement to `is_func_expr`

julia> CodeTracking.is_func_expr(:(a -> a + 1))
true
# changes not reflected

chris-b1 avatar Apr 19 '24 13:04 chris-b1