Navigation Menu

Skip to content

Commit

Permalink
Change 'newclosure' to 'clone' in create_parametic_role,
Browse files Browse the repository at this point in the history
as a first step in converting it from a macro to a normal sub.
All tests still pass.
  • Loading branch information
pmichaud committed Apr 4, 2009
1 parent db0dd4f commit 5942053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/actions.pm
Expand Up @@ -32,7 +32,7 @@ method TOP($/) {
' unless meth_iter goto it_loop_end',
' $S0 = shift meth_iter',
' $P0 = meths[$S0]',
' $P1 = newclosure $P0',
' $P1 = clone $P0',
' $P2 = getprop "$!signature", $P0',
' setprop $P1, "$!signature", $P2',
' $I0 = isa $P0, "Code"',
Expand Down

0 comments on commit 5942053

Please sign in to comment.