Skip to content

Commit

Permalink
Use nqp::rethrow
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpilot committed Jun 1, 2012
1 parent e4b9254 commit d3c3756
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Exception.pm
Expand Up @@ -30,7 +30,7 @@ my class Exception {
}
method rethrow() is hidden_from_backtrace {
pir::setattribute__vPsP($!ex, 'payload', nqp::p6decont(self));
pir::rethrow__0P($!ex)
nqp::rethrow($!ex)
}
}

Expand Down Expand Up @@ -198,7 +198,7 @@ do {
method (|$) {
my Mu $ex := nqp::atpos(pir::perl6_current_args_rpa__P(), 1);
pir::perl6_invoke_catchhandler(&print_control, $ex);
pir::rethrow__0P($ex);
nqp::rethrow($ex);
}
);

Expand Down

0 comments on commit d3c3756

Please sign in to comment.