Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mark use of local op as a hack
  • Loading branch information
lizmat committed Apr 21, 2014
1 parent 3492812 commit 9144630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/SupplyOperations.pm
Expand Up @@ -336,7 +336,7 @@ my class SupplyOperations is repr('Uninstantiable') {
@s.shift unless @s[0].defined; # lose if used as class method
return Supply unless +@s; # nothing to be done

my &infix:<op> = &with // &[,];
my &infix:<op> = &with // &[,]; # hack for [[&with]] parse failure
my @values = ( [] xx +@s );
on -> $res {
@s => -> $val, $index {
Expand Down

0 comments on commit 9144630

Please sign in to comment.