diff --git a/base/scopedvalues.jl b/base/scopedvalues.jl index fb28652937e1e0..86e29dfe0bd9e4 100644 --- a/base/scopedvalues.jl +++ b/base/scopedvalues.jl @@ -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)