Skip to content

Commit

Permalink
Add 'make' function (partial RT #63152, chrisdolan++)
Browse files Browse the repository at this point in the history
Patch courtesy Chris Dolan <chris  at chrisdolan.net>
  • Loading branch information
pmichaud committed Feb 11, 2009
1 parent 45cf376 commit c66322e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/builtins/match.pir
Expand Up @@ -25,6 +25,16 @@ src/builtins/match.pir - Perl6 builtins for smart matching
.tailcall x.'REJECTS'(topic)
.end


.sub 'make'
.param pmc value
$P0 = getinterp
$P1 = $P0['lexpad';1]
$P2 = $P1['$/']
$P2.'result_object'(value)
.end


=back

=cut
Expand Down

0 comments on commit c66322e

Please sign in to comment.