Skip to content

Commit

Permalink
Implement prefix:<~> for MultiSub. This makes sure we stringify Parro…
Browse files Browse the repository at this point in the history
…t multisubs correctly (it may well we that we can drop this patch if Parrot changes how they stringify).
  • Loading branch information
jnthn committed Jun 30, 2009
1 parent 1e742a7 commit 91bb463
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/classes/Multi.pir
Expand Up @@ -25,6 +25,14 @@ Multi - Perl 6 multi-dispatch routine
.return (self)
.end


.namespace []

.sub 'prefix:~' :multi('MultiSub')
.param pmc multi
.tailcall multi.'name'()
.end

=back

=cut
Expand Down

0 comments on commit 91bb463

Please sign in to comment.