Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak error message
  • Loading branch information
moritz committed Oct 16, 2011
1 parent 05d6117 commit ea25f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -293,7 +293,7 @@ my class List does Positional {
}

method reduce(List:D: &with) {
fail('can only reduce with arity 2 for now')
fail('can only reduce with arity 2')
unless &with.arity <= 2 <= &with.count;
my Mu $val;
for self.keys {
Expand Down

0 comments on commit ea25f3e

Please sign in to comment.