Skip to content

Commit

Permalink
Reword X::Seq::Consumed message
Browse files Browse the repository at this point in the history
Having seen some discussions recently, e.g:
  Raku/roast@760dbe8465d7a5
  • Loading branch information
lizmat committed Dec 23, 2017
1 parent ec0021b commit 548dcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,7 @@ my class X::InvalidTypeSmiley does X::Comp {

my class X::Seq::Consumed is Exception {
method message() {
"This Seq has already been iterated, and its values consumed\n" ~
"The iterator of this Seq is already in use/consumed by another Seq\n" ~
"(you might solve this by adding .cache on usages of the Seq, or\n" ~
"by assigning the Seq into an array)"
}
Expand Down

0 comments on commit 548dcf4

Please sign in to comment.