From 6cb74724332081d10a165c646962873fdaebc1da Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Tue, 30 Mar 2021 14:44:02 -0400 Subject: [PATCH] make some constructors bold in stacktraces (#40264) --- base/show.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/show.jl b/base/show.jl index 278a5c96df6154..89a2fdef11ec9f 100644 --- a/base/show.jl +++ b/base/show.jl @@ -2226,7 +2226,7 @@ function show_signature_function(io::IO, @nospecialize(ft), demangle=false, farg uwf = unwrap_unionall(f) parens = isa(f, UnionAll) && !(isa(uwf, DataType) && f === uwf.name.wrapper) parens && print(io, "(") - show(io, f) + print_within_stacktrace(io, f, bold=true) parens && print(io, ")") else if html