My question was that you removed two traits block of code in one method
and added one only to one method. so I was wondering why this was not  
to two methods (and
recompile: false from: oldClass to: newClass  was the one you did not  
change).

On Jan 21, 2009, at 2:28 PM, Adrian Lienhard wrote:

>
> On Jan 20, 2009, at 09:49 , Stéphane Ducasse wrote:
>>
>> Now I was wondering why you did not change
>>      newClass := self recompile: false from: oldClass to: newClass
>> mutate: false. too
>
> Not sure if I understand what you mean.
>
> The message #recompile:from:to:mutate: is sent from the two methods I
> changed. The important change is that the transfer of the trait
> composition has to be done into the class returned by this method, not
> into the previous value of newClass (that is, before and and after the
> call, the variable newClass points to different instances).
>
> 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