Permalink
Browse files

[t/spec] initialize a variable to make rakudo happy

git-svn-id: http://svn.pugscode.org/pugs@22084 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 764328f commit 959cd56fa205c58d60c47b7a7d11af3d2d78cfa3 moritz committed Sep 1, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 S04-statements/for.t
@@ -345,7 +345,7 @@ my @elems = <a b c d e>;
{
my @array = <1 2 3 4>;
- my $output;
+ my $output = '';
for (grep { 1 }, sort @array) -> $elem {
$output ~= "$elem,";

0 comments on commit 959cd56

Please sign in to comment.