OK for me.

the point is that since Compiled Method are copied

But even non-aliased methods are copied...

Indeed.



so c3 is really different from c2
and c3 is not defined in Trait2 but this is realy because there is D that C3 exists.
so tell me what you think.

The problem with making the origin D is that then the relationship
"all methods that have the origin class D are local methdos in class D" is not true anymore.
marcus
I think it is more important to have this true for classes then for Traits.

I agree with Marcus.
The origin of a method for me means the behavior (trait or class) in which a method is originally defined. That is, if I want to modify the method without overriding it, this is the place to do it. Therefore, even though D introduces a new name for the method, the method still originates in Trait2.

Adrian
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to