Skip to content

Commit

Permalink
fixup! Elegance through simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Aug 18, 2023
1 parent 795d0de commit 0c0c0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/scopedvalues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function Base.getindex(var::ScopedValue{T})::T where T
scope = scope.parent
end
return var.initial_value
en
end

function Base.show(io::IO, var::ScopedValue)
print(io, ScopedValue)
Expand Down

0 comments on commit 0c0c0ef

Please sign in to comment.