Skip to content

Commit

Permalink
Empty statement list should return Nil.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 26, 2010
1 parent 7102d7c commit 92d0c1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Perl6/Actions.pm
Expand Up @@ -143,6 +143,9 @@ method statementlist($/) {
}
}
}
else {
$past.push(PAST::Op.new(:name('&Nil')));
}
make $past;
}

Expand Down

0 comments on commit 92d0c1c

Please sign in to comment.