Skip to content

Commit b62ef14

Browse files
Update base/binaryplatforms.jl
Co-authored-by: Fredrik Ekre <[email protected]>
1 parent 6b83d5b commit b62ef14

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
@@ -135,7 +135,7 @@ tags(p::Platform) = p.tags
135135
# Make it act more like a dict
136136
Base.getindex(p::AbstractPlatform, k::String) = getindex(tags(p), k)
137137
Base.haskey(p::AbstractPlatform, k::String) = haskey(tags(p), k)
138-
Base.setindex!(p::AbstractPlatform, v::String, k::String) = setindex!(tags(p), v, k)
138+
Base.setindex!(p::AbstractPlatform, v::String, k::String) = (setindex!(tags(p), v, k); p)
139139

140140
# Allow us to easily serialize Platform objects
141141
function Base.repr(p::Platform; context=nothing)

0 commit comments

Comments
 (0)