Skip to content

Commit 77865f2

Browse files
authored
Fix binaryplatforms union invalidation (#39251)
DataStructures' `union(s::DataStructures.SparseIntSet, ns)` yields a bad invalidation.
1 parent a29b62f commit 77865f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/binaryplatforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ only available in macOS `v"10.11"` and later, or an artifact can state that it r
992992
a libstdc++ that is at least `v"3.4.22"`, etc...
993993
"""
994994
function platforms_match(a::AbstractPlatform, b::AbstractPlatform)
995-
for k in union(keys(tags(a)), keys(tags(b)))
995+
for k in union(keys(tags(a)::Dict{String,String}), keys(tags(b)::Dict{String,String}))
996996
ak = get(tags(a), k, nothing)
997997
bk = get(tags(b), k, nothing)
998998

0 commit comments

Comments
 (0)