#1005: Use VTABLE_is_equal instead of MMD in Hash and ResizablePMCArray
-------------------+--------------------------------------------------------
 Reporter:  flh    |        Type:  patch 
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  core  
  Version:  trunk  |    Severity:  medium
 Keywords:         |        Lang:        
    Patch:  new    |    Platform:  all   
-------------------+--------------------------------------------------------
 The "is_equal" methods of Hash and ResizablePMCArray currently use
 Parrot_mmd_dispatch_from_c_args to compare their elements.

 This makes the attached example fail (VTABLE methods are not automatically
 registered as MULTI).

 I've attached two patches (one for Hash, the other one for RPA) which:
  * replace the MMD call with VTABLE_is_equal (this matches what is
 currently done in FixedPMCArray),
  * add some tests to cover this code.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1005>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to