Skip to content

Commit

Permalink
improve type stability of `process_overrides(artifact_dict::Dict, pkk…
Browse files Browse the repository at this point in the history
…_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

(cherry picked from commit b4af0e5)
  • Loading branch information
ranocha authored and KristofferC committed Sep 16, 2022
1 parent 3d8b92f commit 9d593ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)
# override for this UUID, and inserting new overrides for those hashes.
overrides = load_overrides()
if haskey(overrides[:UUID], pkg_uuid)
pkg_overrides = overrides[:UUID][pkg_uuid]
pkg_overrides = overrides[:UUID][pkg_uuid]::Dict{String, <:Any}

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

0 comments on commit 9d593ce

Please sign in to comment.