Skip to content

Commit

Permalink
Better internal op lookup for Xop and Zop.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Mar 19, 2010
1 parent 1e9aa08 commit 9affb78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Perl6/Actions.pm
Expand Up @@ -1940,11 +1940,13 @@ method infixish($/) {
else {
if $metaop eq 'X' {
make PAST::Op.new( :name("&crosswith"), :pasttype('call'),
PAST::Var.new( :name($base_opsub), :scope('package') ) );
PAST::Op.new( :pirop('find_sub_not_null__Ps'),
$base_opsub ) );
}
if $metaop eq 'Z' {
make PAST::Op.new( :name("&zipwith"), :pasttype('call'),
PAST::Var.new( :name($base_opsub), :scope('package') ) );
PAST::Op.new( :pirop('find_sub_not_null__Ps'),
$base_opsub ) );
}
}
}
Expand Down

0 comments on commit 9affb78

Please sign in to comment.