Skip to content

Commit 27b44cf

Browse files
precompilepkgs: color the "is currently loaded" text to make meaning clearer (#56926)
1 parent 4f1842f commit 27b44cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

base/precompilation.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,9 @@ function _precompilepkgs(pkgs::Vector{String},
10421042
plural4 = n_loaded == 1 ? "this package" : "these packages"
10431043
print(iostr, "\n ",
10441044
color_string(string(n_loaded), Base.warn_color()),
1045-
" $(plural1) precompiled but $(plural2) currently loaded. Restart julia to access the new version$(plural3). \
1045+
" $(plural1) precompiled but ",
1046+
color_string("$(plural2) currently loaded", Base.warn_color()),
1047+
". Restart julia to access the new version$(plural3). \
10461048
Otherwise, loading dependents of $(plural4) may trigger further precompilation to work with the unexpected version$(plural3)."
10471049
)
10481050
end

0 commit comments

Comments
 (0)