Skip to content

Commit

Permalink
fix bad rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonschaub committed Jul 2, 2020
1 parent ba9c3b6 commit b2f9f74
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions base/errorshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -538,15 +538,6 @@ function show_method_candidates(io::IO, ex::MethodError, @nospecialize kwargs=()
end
end

function show_trace_entry(io, frame, n; prefix = "")
if haskey(io, :last_shown_line_infos)
push!(io[:last_shown_line_infos], (string(frame.file), frame.line))
end
print(io, "\n", prefix)
show(io, frame, full_path=true)
n > 1 && print(io, " (repeats ", n, " times)")
end

# In case the line numbers in the source code have changed since the code was compiled,
# allow packages to set a callback function that corrects them.
# (Used by Revise and perhaps other packages.)
Expand Down

0 comments on commit b2f9f74

Please sign in to comment.