While migrating from ContextVariablesX.jl, we needed an "empty scope" in place of empty ContextSnapshot{T}. To do that in a way that is works both before and after Julia 1.11, we needed this hack:
const _EMPTY_SCOPE = ScopedValues.Scope(
isdefined(ScopedValues, :ScopeStorage) ?
ScopedValues.ScopeStorage() :
Base.ScopedValues.ScopeStorage()
)
Since ScopeStorage is not imported to the package from Base in 1.11.
Could we please import it?:)
While migrating from
ContextVariablesX.jl, we needed an "empty scope" in place of emptyContextSnapshot{T}. To do that in a way that is works both before and after Julia 1.11, we needed this hack:Since
ScopeStorageis not imported to the package fromBasein 1.11.Could we please import it?:)