Skip to content

Commit

Permalink
Somewhat unbreak candidate introspection on multis.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed May 2, 2010
1 parent fad910a commit f82af0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/builtins/Multi.pir
Expand Up @@ -22,6 +22,16 @@ Multi - Perl 6 multi-dispatch routine
p6meta.'register'('MultiSub', 'parent'=>proto, 'protoobject'=>proto)
.end

=item candidates

=cut

.sub 'candidates' :method
$P0 = self.'ll_candidates'()
$P0 = '&infix:<,>'($P0 :flat)
.return ($P0)
.end

=item multi

=cut
Expand Down
2 changes: 1 addition & 1 deletion src/pmc/perl6multisub.pmc
Expand Up @@ -1281,7 +1281,7 @@ Gets a list of all candidates.
=cut

*/
METHOD PMC *candidates() {
METHOD PMC *ll_candidates() {
PMC *candidates;
GETATTR_Perl6MultiSub_candidates(interp, SELF, candidates);
RETURN (PMC *candidates);
Expand Down

0 comments on commit f82af0b

Please sign in to comment.