Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle the infix:<@lhs, @rhs> case we forgot about last time.
  • Loading branch information
colomon committed Jun 17, 2010
1 parent fdb5ca4 commit 2be1d04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/operators.pm
Expand Up @@ -424,6 +424,11 @@ our multi sub infix:<...>($lhs, @rhs is copy) {
($lhs ... @rhs.shift), @rhs
}

our multi sub infix:<...>(@lhs, @rhs is copy) {
fail "Need something on RHS" if !@rhs;
(@lhs ... @rhs.shift), @rhs
}

our multi sub infix:<eqv>(Mu $a, Mu $b) {
$a.WHAT === $b.WHAT && $a === $b;
}
Expand Down

0 comments on commit 2be1d04

Please sign in to comment.