diff --git a/src/Assertions.jl b/src/Assertions.jl index 2b0efe987f..794065f13b 100644 --- a/src/Assertions.jl +++ b/src/Assertions.jl @@ -16,11 +16,11 @@ # ################################################################################ -global const VERBOSE_SCOPE = Symbol[] +const VERBOSE_SCOPE = Symbol[] -global const VERBOSE_LOOKUP = Dict{Symbol, Int}() +const VERBOSE_LOOKUP = Dict{Symbol, Int}() -global const VERBOSE_PRINT_INDENT = Int[ 0 ] +const VERBOSE_PRINT_INDENT = Int[ 0 ] @doc raw""" AbstractAlgebra.add_verbosity_scope(s::Symbol) -> Nothing @@ -375,9 +375,9 @@ end # ################################################################################ -global const ASSERT_SCOPE = Symbol[] +const ASSERT_SCOPE = Symbol[] -global const ASSERT_LOOKUP = Dict{Symbol, Int}() +const ASSERT_LOOKUP = Dict{Symbol, Int}() @doc raw""" AbstractAlgebra.add_assertion_scope(s::Symbol) -> Nothing diff --git a/src/PrettyPrinting.jl b/src/PrettyPrinting.jl index 2a2c48b650..a1c62a2691 100644 --- a/src/PrettyPrinting.jl +++ b/src/PrettyPrinting.jl @@ -148,7 +148,7 @@ function show_obj(io::IO, mi::MIME, obj) finish(S) end -global _html_as_latex = Ref{Bool}(false) +const _html_as_latex = Ref{Bool}(false) @doc raw""" get_html_as_latex()