Skip to content

Commit 6cb7472

Browse files
mcabbottjohanmon
authored andcommitted
make some constructors bold in stacktraces (JuliaLang#40264)
1 parent bbc6912 commit 6cb7472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/show.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ function show_signature_function(io::IO, @nospecialize(ft), demangle=false, farg
22262226
uwf = unwrap_unionall(f)
22272227
parens = isa(f, UnionAll) && !(isa(uwf, DataType) && f === uwf.name.wrapper)
22282228
parens && print(io, "(")
2229-
show(io, f)
2229+
print_within_stacktrace(io, f, bold=true)
22302230
parens && print(io, ")")
22312231
else
22322232
if html

0 commit comments

Comments
 (0)