On Tue Oct 02 10:22:41 2007, pcoch wrote:
>  In the file src/mmd.c there is the todo item within mmd_maybe_candiate():
> 
> if (VTABLE_isa(interp, pmc, _sub)) {
>     /* a plain sub stops outer searches */
>     /* TODO check arity of sub */
> 
>     VTABLE_push_pmc(interp, cl, pmc);

In this, we want to only push on a candidate sub if the arity of the sub
matches the arity of the MMD call? If so, what do we compare it to?

Also, do we need to check the arity of MultiSub candidates too?

Are we sure that Parrot_mmd_maybe_candidate is the right place to be
checking arity on these subs?

-- 
Andrew Whitworth
a.k.a Whiteknight


Reply via email to