We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14f4832 + 307a3de commit ea8db02Copy full SHA for ea8db02
src/display.jl
@@ -147,7 +147,7 @@ end
147
148
import Base: ip_matches_func
149
150
-function show_bt(io::IO, top_func::Symbol, t, set)
+function show_bt(io::IO, top_func::Symbol, t::Vector)
151
# follow PR #17570 code in removing top_func from backtrace
152
eval_ind = findlast(addr->ip_matches_func(addr, top_func), t)
153
eval_ind !== nothing && (t = t[1:eval_ind-1])
@@ -164,7 +164,7 @@ function error_content(e, bt=catch_backtrace();
164
msg::AbstractString="")
165
tb = map(String, split(sprint(show_bt,
166
backtrace_top,
167
- bt, 1:typemax(Int); context=:color => true),
+ bt; context=:color => true),
168
"\n", keepempty=true))
169
170
ename = string(typeof(e))
0 commit comments