Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Subtle change in fail message
  • Loading branch information
lizmat committed Jul 25, 2013
1 parent cc9cf16 commit 207cdaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -184,7 +184,7 @@ my class List does Positional {
multi method push(List:D: *@values) {
fail 'Cannot .push an infinite list' if @values.infinite;
my $pos = self.gimme(*);
fail 'Cannot .push an infinite list' if $!nextiter.defined;
fail 'Cannot .push to an infinite list' if $!nextiter.defined;
self.STORE_AT_POS($pos++, @values.shift) while @values.gimme(1);
self;
}
Expand Down

0 comments on commit 207cdaf

Please sign in to comment.