On Wed, 2005-06-29 at 10:01 +0000, Leopold Toetsch via RT wrote: > > PARENT_1 # adds attribute 'foo' > > ^ > > | > > PARENT_2 # adds attribute 'foo', hiding the inherited one > > ^ > > | > > CHILD # adds attribute 'bar' > > The first question is of course: > > a) should we fully hide PARENT_1's "foo" > b) or should the attribute still be accessible as "PARENT_1\0foo" > > or: how many attributes has CHILD?
We also need to ask how many attributes CHILD has in the case of multiple inheritance (where PARENT_1 and PARENT_2 both have attribute 'foo'): PARENT_1 PARENT_2 ^ ^ \ / CHILD I can live with either answer (from the point of view of implementing the Amber compiler). Regards, Roger Browne