Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make List.gist not warn on undefined values
  • Loading branch information
lizmat committed May 19, 2013
1 parent 2a04f23 commit 2fe2537
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/List.pm
Expand Up @@ -340,7 +340,9 @@ my class List does Positional {
}
}

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

0 comments on commit 2fe2537

Please sign in to comment.