Skip to content

Commit

Permalink
fix printing of parents to extensions in @time_imports
Browse files Browse the repository at this point in the history
(cherry picked from commit 6bd658e)
  • Loading branch information
KristofferC authored and KristofferC committed Feb 21, 2023
1 parent bce9821 commit 5e0cf3e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1020,11 +1020,9 @@ function _include_from_serialized(pkg::PkgId, path::String, ocachepath::Union{No
elapsed = round((time_ns() - t_before) / 1e6, digits = 1)
comp_time, recomp_time = cumulative_compile_time_ns() .- t_comp_before
print(lpad(elapsed, 9), " ms ")
for extid in EXT_DORMITORY
if extid.id == pkg
print(extid.parentid.name, "")
break
end
parentid = get(EXT_PRIMED, pkg, nothing)
if parentid !== nothing
print(parentid.name, "")
end
print(pkg.name)
if comp_time > 0
Expand Down

0 comments on commit 5e0cf3e

Please sign in to comment.