petdance/scratch — Issue #599: MultiSub PMC does not support get_namespace method
Author: petdance
Created: 2011-11-14 06:01:19+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

A multisub PMC cannot be said to "subclass" the sub PMC, since they don't support the same methods.
In my case, calling `get_namespace` to discover the origin of the PMC, fails on multisubs.

Looking in the code, the multisub.pmc seems to be "a ResizablePMCArray that supports invocation" rather than "a sub that supports dispatch".

Originally http://trac.parrot.org/parrot/ticket/1109