Skip to content

Commit

Permalink
.gist is better for defined values than .Str
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed May 19, 2013
1 parent 2fe2537 commit 1dace73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -341,7 +341,7 @@ my class List does Positional {
}

multi method gist(List:D:) {
join ' ', map { $_.defined ?? $_.Str !! $_.perl }, @(self)
join ' ', map { $_.defined ?? $_.gist !! $_.perl }, @(self)
}
multi method perl(List:D \SELF:) {
self.gimme(*);
Expand Down

0 comments on commit 1dace73

Please sign in to comment.