Well, if you just want to make your numbers be right, that's easy:

Smalltalk allTraits do: [ :each | each instVarNamed: 'users' put:  
IdentitySet new ].
Smalltalk allClassesAndTraits do: [ :each |
        each hasTraitComposition ifTrue: [ each setTraitComposition: each  
traitComposition ] ].

This recreates all users sets.

Adrian

On Jan 15, 2009, at 18:20 , Damien Cassou wrote:

> On Thu, Jan 15, 2009 at 6:18 PM, Adrian Lienhard <a...@netstyle.ch>  
> wrote:
>> BTW, why is this so pressing now? This bug has existed for four  
>> years.
>
> We are writing an article and we have lots of metrics automatically
> calculated (and the LaTeX tables are also automatically generated).
> Since the article and the metrics are about trait users...
>
> -- 
> Damien Cassou
> http://damiencassou.seasidehosting.st
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to