Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make some constructors bold in stacktraces #40264

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

mcabbott
Copy link
Contributor

In the 1.6 stack trace printing, some constructors aren't printed in bold, unlike most function names.

The problem can be seen with Matrix{Int}([1 2; 3 4.5]) from here: #37773 (comment), or using DataFrames; DataFrame(1 => 2) from here: #40228 (with pictures).

This should be a minimal repair. I believe it ought not to change any other behaviour.

@simeonschaub simeonschaub added backport 1.6 Change should be backported to release-1.6 display and printing Aesthetics and correctness of printed representations of objects. error handling Handling of exceptions by Julia or the user labels Mar 30, 2021
@simeonschaub simeonschaub merged commit 42766ac into JuliaLang:master Mar 30, 2021
@mcabbott mcabbott deleted the boldshow branch March 30, 2021 19:36
KristofferC pushed a commit that referenced this pull request Apr 4, 2021
@KristofferC KristofferC mentioned this pull request Apr 4, 2021
33 tasks
KristofferC pushed a commit that referenced this pull request Apr 4, 2021
KristofferC pushed a commit that referenced this pull request Apr 4, 2021
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label May 4, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
display and printing Aesthetics and correctness of printed representations of objects. error handling Handling of exceptions by Julia or the user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants