Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
List.Str should be a multi
  • Loading branch information
moritz committed Jul 5, 2011
1 parent e24c94d commit bd50d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -16,7 +16,7 @@ class List does Positional {
method Bool() { self.gimme(1).Bool }
method Int() { self.elems }
method Numeric() { self.elems }
method Str(List:D:) { self.join(' ') }
multi method Str(List:D:) { self.join(' ') }
method fmt($format = '%s', $separator = ' ') {
self.map({ .fmt($format) }).join($separator);
}
Expand Down

0 comments on commit bd50d5d

Please sign in to comment.