Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Typo fix.
  • Loading branch information
pmichaud committed May 31, 2012
1 parent 8ecf6da commit b2068e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -187,7 +187,7 @@ my class List does Positional {

method reverse() {
self.gimme(*);
fail 'Cannot reverse and infinite list' if self.infinite;
fail 'Cannot reverse an infinite list' if self.infinite;
my Mu $rev := nqp::list();
my Mu $orig := nqp::clone($!items);
nqp::push($rev, nqp::pop($orig)) while $orig;
Expand Down

0 comments on commit b2068e9

Please sign in to comment.