add_role and remove_role on a Class PMC

Andrew Whitworth wknight8111 at gmail.com
Mon Feb 21 13:36:02 UTC 2011


By my understanding, the current implementation of roles has either
never worked or never really been tested. This would be a major reason
why such sanity checks on the system fail.

The big question in my mind is whether we want to try to fix and test
this system as-is, or wait for our new MOP implementation (which, I
assume, will support roles out of the box).

--Andrew Whitworth



On Mon, Feb 21, 2011 at 2:18 AM, Jonathan "Duke" Leto <jonathan at leto.net> wrote:
> Howdy,
>
> It recently came to my attention, while writing tests for
> extend_vtable.c, that one can add a role to a class, but not remove
> it.
>
> Specifically, the Class PMC has the add_role VTABLE but not the
> remove_role VTABLE.
>
> This seems broken to me.
>
> Please discuss.
>
> Duke
>
>
> --
> Jonathan "Duke" Leto
> jonathan at leto.net
> http://leto.net
> _______________________________________________
> http://lists.parrot.org/mailman/listinfo/parrot-dev
>


More information about the parrot-dev mailing list