-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix REPL thinking returned stuff is a thrown exception
With the current versionb, it's possible to trick REPL into thinking an exception was thrown when it really wasn't with code like: say "hi"; use nqp; my $x = REPL.new(nqp::getcomp("perl6"), %).repl-eval(q|die "meow"|); Not a big deal, but we can eliminate that case by tossing the marker role and using a different variable to handle exceptions. Fixes (for real this time) RT#130876: https://rt.perl.org/Ticket/Display.html?id=130876#ticket-history
- Loading branch information
1 parent
b4118a7
commit 7f9235c
Showing
2 changed files
with
19 additions
and
10 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
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