Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix .clone on multis.
  • Loading branch information
jnthn committed Feb 25, 2010
1 parent 6373c3b commit 2ab6b38
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/pmc/perl6multisub.pmc
Expand Up @@ -1162,6 +1162,21 @@ Makes a copy of this Perl6MultiSub PMC.
return copy;
}


/*

=item METHOD PMC * clone()

Makes a copy of this Perl6MultiSub PMC.

=cut

*/
METHOD PMC * clone() {
PMC *copy = VTABLE_clone(interp, SELF);
RETURN (PMC *copy);
}

/*

=item VTABLE STRING * get_string()
Expand Down

0 comments on commit 2ab6b38

Please sign in to comment.