#182: src/pmc/Namespace.pmc:get_pointer_keyed should accept NameSpace arguments
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner: whiteknight
Type: bug | Status: new
Priority: normal | Milestone: 0.9.1
Component: core | Version:
Severity: medium | Keywords: pmc namespace oo
Lang: | Patch:
Platform: all |
-------------------------+--------------------------------------------------
get_pointer_keyed in the NameSpace PMC currently accepts the following
types of PMC arguments: String, Key, and ResizableStringArray. This vtable
interface is called from pmc_type_p, which is now (or will be soon) used
in Parrot_oo_get_class, which in turn is called from the get_class opcode.
Since get_class can take an RSA, a String, a Key, or a Namespace, this
function needs to be updated to take a Namespace as well. Currently,
Parrot_oo_get_class does a hack where namespaces are treated separately
(stringified, then the string name is looked up in the class hash, and the
type id number sent to pmc_type), while RSA, Strings, and Keys get handled
(properly) by pmc_type_p.
This issue is blocking a resolution to TT#8.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/182>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets