@@ -273,7 +273,7 @@ function delete_missing!(exs_sigs_old::ExprsSigs, exs_sigs_new)
273273 # try # guard against serialization errors if the type isn't defined on the worker
274274 future = remotecall (Core. eval, p, Main, :(delete_method_by_sig ($ sig)))
275275 finalizer (future) do f
276- Base . invoke_revisefunc (worldage[], Distributed. finalize_ref, f)
276+ invoke_revisefunc (Distributed. finalize_ref, f)
277277 end
278278 # catch
279279 # end
@@ -1204,7 +1204,7 @@ end
12041204# This uses invokelatest not for reasons of world age but to ensure that the call is made at runtime.
12051205# This allows `revise_first` to be compiled without compiling `revise` itself, and greatly
12061206# reduces the overhead of using Revise.
1207- revise_first (ex) = Expr (:toplevel , :(isempty ($ revision_queue) || Base. invoke_revisefunc ($ revise)), ex)
1207+ revise_first (ex) = Expr (:toplevel , :(isempty ($ revision_queue) || (worldage[] = Base. get_world_counter (); invoke_revisefunc ($ revise) )), ex)
12081208
12091209@noinline function run_backend (backend)
12101210 while true
@@ -1355,8 +1355,8 @@ function __init__()
13551355 id = PkgId (nothing , " @REPL" )
13561356 pkgdatas[id] = pkgdata = PkgData (id, nothing )
13571357 # Set the lookup callbacks
1358- CodeTracking. method_lookup_callback[] = get_def
1359- CodeTracking. expressions_callback[] = get_expressions
1358+ CodeTracking. method_lookup_callback[] = x -> (worldage[] = Base . get_world_counter (); invoke_revisefunc ( get_def, x))
1359+ CodeTracking. expressions_callback[] = x -> (worldage[] = Base . get_world_counter (); invoke_revisefunc ( get_expressions, x))
13601360
13611361 # Watch the manifest file for changes
13621362 mfile = manifest_file ()
0 commit comments