Skip to content

Commit b4af0e5

Browse files
authored
improve type stability of process_overrides(artifact_dict::Dict, pkk_uuid::Base.UUID) (#46661)
* improve type stability of `process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)` This fixes some invalidations when loading Static.jl
1 parent 35191ad commit b4af0e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Artifacts/src/Artifacts.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)
325325
# override for this UUID, and inserting new overrides for those hashes.
326326
overrides = load_overrides()
327327
if haskey(overrides[:UUID], pkg_uuid)
328-
pkg_overrides = overrides[:UUID][pkg_uuid]
328+
pkg_overrides = overrides[:UUID][pkg_uuid]::Dict{String, <:Any}
329329

330330
for name in keys(artifact_dict)
331331
# Skip names that we're not overriding

0 commit comments

Comments
 (0)