Skip to content

Commit

Permalink
Update base/binaryplatforms.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
  • Loading branch information
staticfloat and fredrikekre committed Sep 16, 2020
1 parent 6b83d5b commit b62ef14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/binaryplatforms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ tags(p::Platform) = p.tags
# Make it act more like a dict
Base.getindex(p::AbstractPlatform, k::String) = getindex(tags(p), k)
Base.haskey(p::AbstractPlatform, k::String) = haskey(tags(p), k)
Base.setindex!(p::AbstractPlatform, v::String, k::String) = setindex!(tags(p), v, k)
Base.setindex!(p::AbstractPlatform, v::String, k::String) = (setindex!(tags(p), v, k); p)

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

0 comments on commit b62ef14

Please sign in to comment.