Skip to content

Commit 3df3c13

Browse files
KristofferCKristofferC
authored andcommitted
fix printing of parents to extensions in @time_imports
(cherry picked from commit 6bd658e)
1 parent 6b889c6 commit 3df3c13

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

base/loading.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,11 +1020,9 @@ function _include_from_serialized(pkg::PkgId, path::String, ocachepath::Union{No
10201020
elapsed = round((time_ns() - t_before) / 1e6, digits = 1)
10211021
comp_time, recomp_time = cumulative_compile_time_ns() .- t_comp_before
10221022
print(lpad(elapsed, 9), " ms ")
1023-
for extid in EXT_DORMITORY
1024-
if extid.id == pkg
1025-
print(extid.parentid.name, "")
1026-
break
1027-
end
1023+
parentid = get(EXT_PRIMED, pkg, nothing)
1024+
if parentid !== nothing
1025+
print(parentid.name, "")
10281026
end
10291027
print(pkg.name)
10301028
if comp_time > 0

0 commit comments

Comments
 (0)