Re: Why Some MMD Tests Fail

2008-09-09 Thread Allison Randal
jerry gay wrote: On Mon, Sep 8, 2008 at 1:09 AM, Allison Randal [EMAIL PROTECTED] wrote: a) Do abstract base classes as currently implemented in Parrot serve any useful purpose? If not, eliminate them. can they be replaced by roles? Potentially, yes. In the case of the scalar PMC it would

Re: Why Some MMD Tests Fail

2008-09-09 Thread chromatic
On Tuesday 09 September 2008 09:51:37 Allison Randal wrote: jerry gay wrote: can they be replaced by roles? Potentially, yes. In the case of the scalar PMC it would make quite a bit of sense as a role (composing in behavior common to scalar data types). For the default PMC it makes less

Why Some MMD Tests Fail

2008-09-08 Thread chromatic
The scalar PMC is abstract, but it contains multis that need registration with the MMD system at initialization time. PMCs containing multis register those multis in their Parrot_PMC name_class_init() functions. At least, non-abstract PMCs do. I ran into a similar problem with my vtable

Re: Why Some MMD Tests Fail

2008-09-08 Thread Allison Randal
chromatic wrote: The scalar PMC is abstract, but it contains multis that need registration with the MMD system at initialization time. PMCs containing multis register those multis in their Parrot_PMC name_class_init() functions. At least, non-abstract PMCs do. I ran into a similar problem

Re: Why Some MMD Tests Fail

2008-09-08 Thread jerry gay
On Mon, Sep 8, 2008 at 1:09 AM, Allison Randal [EMAIL PROTECTED] wrote: a) Do abstract base classes as currently implemented in Parrot serve any useful purpose? If not, eliminate them. can they be replaced by roles? ~jerry

Re: Why Some MMD Tests Fail

2008-09-08 Thread chromatic
On Monday 08 September 2008 07:36:51 jerry gay wrote: On Mon, Sep 8, 2008 at 1:09 AM, Allison Randal [EMAIL PROTECTED] wrote: a) Do abstract base classes as currently implemented in Parrot serve any useful purpose? If not, eliminate them. can they be replaced by roles? Exactly my thought.