From b2f9f74c4fcdd1f301e6a6ed6d1f83d58898109b Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Thu, 2 Jul 2020 10:54:33 +0200 Subject: [PATCH] fix bad rebase --- base/errorshow.jl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/base/errorshow.jl b/base/errorshow.jl index f9e4081a7d40e..5b0c32be6194a 100644 --- a/base/errorshow.jl +++ b/base/errorshow.jl @@ -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.)