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
