Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make :when/:recursive play nicely.

  • Loading branch information...
commit 1d02bc6f02deff0294a1859b30e8bfa03e0ddecc 1 parent da979a4
tcurtis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Tree/Optimizer/Pass.nqp
View
2  src/Tree/Optimizer/Pass.nqp
@@ -38,7 +38,7 @@ method run ($tree) {
if $!recursive {
self.generate-transformer.walk($tree);
} elsif pir::defined__IPP($!when) {
- my $/ := $tree ~~ $!when;
+ my $/ := $!when.ACCEPTS($tree, :exact(1));
if $/ {
$!transformation($/);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.