Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix another place Op was wrongly assumed.
  • Loading branch information
jnthn committed Jul 25, 2012
1 parent ba93c1d commit 7efa992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -3253,7 +3253,7 @@ class Perl6::Actions is HLL::Actions {
}

sub add_macro_arguments($expr, $ast_class, @argument_quasi_asts) {
if $expr.name eq '&infix:<,>' {
if nqp::istype($expr, QAST::Op) && $expr.name eq '&infix:<,>' {
for $expr.list {
my $quasi_ast := $ast_class.new();
nqp::bindattr($quasi_ast, $ast_class, '$!past', $_);
Expand Down

0 comments on commit 7efa992

Please sign in to comment.