Skip to content

Commit

Permalink
Remove long-commented out code that we don't need.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 16, 2010
1 parent b612d4a commit aea8165
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/pmc/perl6multisub.pmc
Expand Up @@ -1063,14 +1063,6 @@ Adds a new candidate to the candidate list.
PMC *candidates;
MMD_Cache *cache;

/* Make sure it's invokable. */
/* XXX Comment out for now, it's bogus (per jnthn++) */
/*
* if (!check_invokable(interp, sub))
* Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
* "Cannot add non-Sub PMC to a MultiSub.");
*/

/* Add it to the candidates list. */
GETATTR_Perl6MultiSub_candidates(interp, SELF, candidates);
if (PMC_IS_NULL(candidates)) {
Expand Down

0 comments on commit aea8165

Please sign in to comment.