Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
All method calls are wrapped up in calls to perl6ize_type so we need …
…to make sure we descend into them also.
  • Loading branch information
jnthn committed Feb 18, 2012
1 parent 7ddf5ab commit e06236d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Perl6/Sinker.pm
Expand Up @@ -53,7 +53,11 @@ class Perl6::Sinker {
# TODO: find a more efficient way to create an empty parcel
PAST::Op.new(:name('&infix:<,>')),
);
} else {
}
elsif $op.pirop eq 'perl6ize_type PP' {
self.visit_children($op)
}
else {
$op;
}
}
Expand Down

0 comments on commit e06236d

Please sign in to comment.