Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Get arglist thunk to run and return something.
  • Loading branch information
jnthn committed May 6, 2012
1 parent ba1f23a commit 5162c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Grammar.pm
Expand Up @@ -753,12 +753,12 @@ grammar Perl6::Grammar is HLL::Grammar {
[
|| <.spacey> <arglist>
{
my $ast := $<arglist>.ast;
my $ast := $<arglist><EXPR>.ast;
if $ast<has_compile_time_value> {
$arglist := $ast<compile_time_value>;
}
else {
$arglist := $*W.create_thunk($/, $<arglist>.ast)();
$arglist := $*W.create_thunk($/, $ast)();
}

}
Expand Down

0 comments on commit 5162c8b

Please sign in to comment.