Ticket #1005 (closed patch: done)
Use VTABLE_is_equal instead of MMD in Hash and ResizablePMCArray
|Reported by:||flh||Owned by:|
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.