Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Forgot to visit children after range opt.
  • Loading branch information
jnthn committed Aug 1, 2014
1 parent 69eb2f8 commit b1ebf77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Optimizer.nqp
Expand Up @@ -998,6 +998,7 @@ class Perl6::Optimizer {
nqp::istype((my $c2 := $op[0][0][0]), QAST::Op) && nqp::existskey(%range_bounds, $c2.name) &&
$!symbols.is_from_core($c2.name) {
self.optimize_for_range($op, $c2);
self.visit_op_children($op);
return $op;
}

Expand Down

0 comments on commit b1ebf77

Please sign in to comment.