Skip to content

Commit

Permalink
Change missed from earlier commit to refactor signature parameter bin…
Browse files Browse the repository at this point in the history
…ding.
  • Loading branch information
jnthn committed Aug 24, 2010
1 parent 0e96b52 commit 50be0ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dotnet/compiler/PAST2DNSTCompiler.pm
Expand Up @@ -396,8 +396,10 @@ sub compile_signature(@params) {
}

# Variable name to bind into.
my $lexpad_position := +@*LEXICALS;
@*LEXICALS.push($_.name);
$param.push(DNST::Literal.new( :value($_.name), :escape(1) ));
$param.push(DNST::Literal.new( :value($lexpad_position) ));

# Named param or not?
$param.push((!$_.slurpy && $_.named) ??
Expand Down

0 comments on commit 50be0ea

Please sign in to comment.