Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hmmm... samewith doesn't return?
  • Loading branch information
lizmat committed Sep 10, 2014
1 parent 3f662ee commit ec1e0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Str.pm
Expand Up @@ -761,7 +761,7 @@ my class Str does Stringy { # declared in BOOTSTRAP

multi method lines(Str:D: Whatever $) { samewith }
multi method lines(Str:D: $limit) {
samewith if $limit == Inf;
return samewith if $limit == Inf;

my str $ns = nqp::unbox_s(self);
my int $prev = -1;
Expand Down

0 comments on commit ec1e0ce

Please sign in to comment.