Skip to content

Commit b88d6df

Browse files
committed
Improve dispatch in code loading
CodeTracking.jl (a foundation for Revise & JuliaInterpreter) defines additional `PkgId` methods; leaving this untyped leads to invalidation of the entire code-loading path.
1 parent f345c5f commit b88d6df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/loading.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ function _tryrequire_from_serialized(modkey::PkgId, build_id::UInt64, modpath::U
715715
invokelatest(callback, modkey)
716716
end
717717
for M in mod::Vector{Any}
718+
M = M::Module
718719
if PkgId(M) == modkey && module_build_id(M) === build_id
719720
return M
720721
end

0 commit comments

Comments
 (0)