Ticket #1109 (new bug)

Opened 12 years ago

MultiSub PMC does not support get_namespace method

Reported by: Austin_Hastings Owned by:
Priority: normal Milestone:
Component: none Version: 1.6.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

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".

Note: See TracTickets for help on using tickets.