[perl #45959] [TODO] [MMD] Check arity of sub in mmd_maybe_candidate()

Will Coleda via RT parrotbug-followup at parrotcode.org
Tue Nov 17 13:47:48 UTC 2009


On Tue Nov 17 05:28:08 2009, Whiteknight wrote:
> I've taken a look at this code again and I do not believe that
> Parrot_mmd_maybe_candidate() is the correct place to be doing arity
> checks (or signature checks of any kind) on sub objects. It doesn't do
> any kind of arity checking on the components of a MultiSub, for 
instance
> 
> What Parrot_mmd_maybe_candidate() does is separate subs and sub-like
> objects from other object types. It does not evaluate the sub-like
> object for fitness to become a match against the signature. That
> behavior is (and, I think, should remain) handled elsewhere.
> 
> I'm rejecting this ticket. We can talk about other changes to the MMD
> system, and potential fixes/changes/optimizations elsewhere.
> 

CC'ing final comment to list.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list