Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes and adds example refs #1268
- Loading branch information
Showing
1 changed file
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c5f83a8There 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.
Rakudo 2019.03 added the ability for user defined objects to work with
CONTROL.CX::Nexthas always worked withCONTROL.c5f83a8There 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.
Always, as in...? I'll have to check when it was introduced. The phrasing does not talk about the introduction of CX::Next, but the fact that exceptions are captured by CONTROL and not by CATCH (or maybe besides)
c5f83a8There 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.
All of the
CX::exceptions are old and worked withCONTROLfrom the beginning.Only the ability for a user defined object to work with
CONTROLis new.c5f83a8There 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.
Please note that the sentence was already there from the beginning. I replicated it for no good reason, however. I'll raise an issue and see how we can fix it.