Skip to content

Commit 37b8805

Browse files
author
Michael Abbott
committed
use IdDict
1 parent d4dec77 commit 37b8805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/errorshow.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ function replaceuserpath(str)
563563
end
564564

565565
const STACKTRACE_MODULECOLORS = [:magenta, :blue, :cyan, :green, :yellow]
566-
const STACKTRACE_FIXEDCOLORS = Dict(Base => :red, Core => :red)
566+
const STACKTRACE_FIXEDCOLORS = IdDict(Base => :red, Core => :red)
567567

568568
stacktrace_expand_basepaths()::Bool =
569569
tryparse(Bool, get(ENV, "JULIA_STACKTRACE_EXPAND_BASEPATHS", "false")) === true

0 commit comments

Comments
 (0)