On Mon, 15 Jul 2002, John Porter wrote: > "David M. Lloyd" wrote: > > Do we really want *two* inheritance trees per object > > in Perl 6? One language-level and one PMC-level? > > Well, parrot != perl6, so I don't see a problem.
Ugh. > The MM dispatch problem is pretty much solidly in > the realm of pmc inheritance, There _is_ no pmc inheritance right now. There's just a set of default functions. > I'm guessing you didn't intend irony there? :-) No. > > There is really no inheritance of any kind going on, > > it just sticks pointers to the default functions into the vtable > > structure method entries for undefined methods. > > But that's what type inheritance is! Not really. There is only one "base class". Also, you're not inheriting a data structure or member variables. All you "inherit" (which actually happens at compilation of the PMC) are "member functions". If you happen to use your data differently than default.pmc then these functions are no longer valid. If any of this is to change then I haven't heard of it. - D <[EMAIL PROTECTED]>