Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1935,9 +1935,10 @@ end
dep = staledeps[i]
dep isa Module && continue
modpath, modkey, modbuild_id, modcachepath, modstaledeps, modocachepath = dep::Tuple{String, PkgId, UInt128, String, Vector{Any}, Union{Nothing, String}}
dep = get(loaded_precompiles, modkey => modbuild_id, nothing)
if dep === nothing
if stalecheck
dep = maybe_root_module(modkey)
else
dep = get(loaded_precompiles, modkey => modbuild_id, nothing)
end
while true
if dep isa Module
Expand Down Expand Up @@ -1978,7 +1979,7 @@ end
finally
for modkey in newdeps
insert_extension_triggers(modkey)
run_package_callbacks(modkey)
stalecheck && run_package_callbacks(modkey)
end
empty!(newdeps)
end
Expand Down