Skip to content

Commit

Permalink
Add a .name method to Multi. Fixes various issues with introspection …
Browse files Browse the repository at this point in the history
…and also role composition, which uses this introspection.
  • Loading branch information
jnthn committed Apr 20, 2010
1 parent 10b0ff4 commit 698ba87
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/builtins/Multi.pir
Expand Up @@ -31,6 +31,15 @@ Multi - Perl 6 multi-dispatch routine
.return ($P0)
.end

=item name

=cut

.sub 'name' :method
$S0 = self
.return ($S0)
.end

=back

=cut
Expand Down

0 comments on commit 698ba87

Please sign in to comment.