-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add support for Base.display_error over ExceptionStack. #756
Conversation
Codecov Report
@@ Coverage Diff @@
## master #756 +/- ##
==========================================
+ Coverage 78.35% 78.56% +0.20%
==========================================
Files 4 4
Lines 633 639 +6
==========================================
+ Hits 496 502 +6
Misses 137 137
Continue to review full report at Codecov.
|
It looks like Julia 1.1 lacks |
6502e11
to
8d60f8d
Compare
CI appears happy now; review much appreciated :). |
8d60f8d
to
cc952cc
Compare
Rebased over #758. What say you, CI? :) |
7a0e166
to
1e788d1
Compare
1e788d1
to
5709d7e
Compare
@c42f, might I trouble you to have a look at this related patch as well? Thanks again! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I think this can be merged as is, or for a slight improvement also tweaked to work on 1.0 and 1.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This is cool - i didn't realize Compat.jl monkey-patched (type pirated?) methods like this to backport them outside julia itself. Neat! :)
#746 added support for
current_exceptions
/ExceptionStack
(néecatch_stack
), and augmented a few functions with methods that commonly handleExceptionStack
s. This pull request extends that to support toBase.display_error
, which also commonly handlesExceptionStack
s. Best! :)