Skip to content
Permalink
Browse files

Account for the nqp::handle body getting thunked

It's not just the handlers that do, but also the handled code.
  • Loading branch information...
jnthn committed Jan 7, 2019
1 parent 19e4ace commit fcfd51beba36469478435c2d9103330c1e8f24fc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Optimizer.nqp
@@ -2776,7 +2776,7 @@ class Perl6::Optimizer {
else {
note("Non-QAST node visited " ~ $visit.HOW.name($visit)) if $!debug;
}
if $handle && $i > 0 {
if $handle {
@!block_var_stack[nqp::elems(@!block_var_stack) - 1].entering_handle_handler();
}
if nqp::istype($visit, QAST::Op) {

0 comments on commit fcfd51b

Please sign in to comment.
You can’t perform that action at this time.