Skip to content

Commit

Permalink
fix spelling of function name in perl6multisub.pmc
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 14, 2009
1 parent 0f87695 commit 2f489f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pmc/perl6multisub.pmc
Expand Up @@ -263,15 +263,15 @@ static INTVAL is_narrower(PARROT_INTERP, candidate_info *a, candidate_info *b) {

/*

=item C<static candidate_info** sort_candidiates(PMC *candidates)>
=item C<static candidate_info** sort_candidates(PMC *candidates)>

Takes a ResizablePMCArray of the candidates, collects information about them
and then does a topological sort of them.

=cut

*/
static candidate_info** sort_candidiates(PARROT_INTERP, PMC *candidates, PMC **proto_out) {
static candidate_info** sort_candidates(PARROT_INTERP, PMC *candidates, PMC **proto_out) {
INTVAL i;
PMC *found_proto = PMCNULL;
const char *error = NULL;
Expand Down Expand Up @@ -866,7 +866,7 @@ the Perl 6 MMD algorithm.
GETATTR_Perl6MultiSub_proto(interp, SELF, proto);

if (!candidates) {
candidates = sort_candidiates(interp, unsorted, &proto);
candidates = sort_candidates(interp, unsorted, &proto);
SETATTR_Perl6MultiSub_candidates_sorted(interp, SELF, candidates);
SETATTR_Perl6MultiSub_proto(interp, SELF, proto);
}
Expand Down Expand Up @@ -925,7 +925,7 @@ Takes an array of arguments and finds all possible matching candidates.
GETATTR_Perl6MultiSub_proto(interp, SELF, proto);

if (!candidates) {
candidates = sort_candidiates(interp, unsorted, &proto);
candidates = sort_candidates(interp, unsorted, &proto);
SETATTR_Perl6MultiSub_candidates_sorted(interp, SELF, candidates);
SETATTR_Perl6MultiSub_proto(interp, SELF, proto);
}
Expand Down

0 comments on commit 2f489f2

Please sign in to comment.