Skip to content

Commit 45fbab1

Browse files
committed
_precompilepkgs: interactive progress display: declare index var type
May improve the sysimage's resistance to invalidation.
1 parent 2c7527b commit 45fbab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/precompilation.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ function _precompilepkgs(pkgs::Vector{String},
809809
end
810810
t = Timer(0; interval=1/10)
811811
anim_chars = ["","","",""]
812-
i = 1
812+
i::Int = 1
813813
last_length = 0
814814
bar = MiniProgressBar(; indent=0, header = "Precompiling packages ", color = :green, percentage=false, always_reprint=true)
815815
n_total = length(direct_deps) * length(configs)

0 commit comments

Comments
 (0)