[Pharo-project] Big problem with the implementation of traits

Damien Cassou damien.cassou at gmail.com
Thu Jan 15 09:43:51 EST 2009


On Thu, Jan 15, 2009 at 3:13 PM, Adrian Lienhard <adi at netstyle.ch> wrote:
> The hash of traits is not related to the problem. The problem is that
> classes show up multiple times in IdentitySets.
>
> I found the cause (its a bit complicated to explain because related to
> the ClassBuilder and become:). I can fix that during the weekend...

I've implemented a TraitBehavior>>nsUsers method which does

nsUsers
  ^ self users asOrderedCollection asSet

to work around the problem for the article. Can you confirm that this
is a valid workaround?

-- 
Damien Cassou
http://damiencassou.seasidehosting.st




More information about the Pharo-dev mailing list