Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't obfuscate what we mean
  • Loading branch information
lizmat committed Sep 10, 2014
1 parent ec1e0ce commit 51ddd5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Str.pm
Expand Up @@ -759,9 +759,9 @@ my class Str does Stringy { # declared in BOOTSTRAP
}
}

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

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

0 comments on commit 51ddd5d

Please sign in to comment.