Skip to content

Commit f4677b5

Browse files
committed
improve type stability of process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)
This fixes some invalidations when loading Static.jl
1 parent 1dc8c4a commit f4677b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Artifacts/src/Artifacts.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function process_overrides(artifact_dict::Dict, pkg_uuid::Base.UUID)
329329

330330
for name in keys(artifact_dict)
331331
# Skip names that we're not overriding
332-
if !haskey(pkg_overrides, name)
332+
if !(haskey(pkg_overrides, name)::Bool)
333333
continue
334334
end
335335

0 commit comments

Comments
 (0)