[Pharo-project] Problem with de Traits

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Nov 12 08:54:24 CET 2010


TPureBehavior users do: [:e | Transcript show: e printString ;cr]

	TraitBehavior
	Behavior 

in 1.1 and 1.2

so may be you should mentioned your configuration and also get an example that we can run.
It would be more efficient to help you, isn't?

Stef

On Nov 12, 2010, at 2:07 AM, Diogenes Moreira wrote:

> Hi Folks..
> 
> I have the following method
> 
> 
> classesIncluded
> 	| includes |
> 	includes := OrderedCollection new.
> 	TSSerosDB users do:[ :aClass | self processClass: aClass into: includes ].
> 	^ includes.
> 
> 
> TSSerosDB is a Trait..
> 
> Well when I run the process, I get a MNU.. reciver of users is nil
> 
> But If  I inspect   "TSSerosDB users", i get a Identity Set...
> 
> What's wrong.. why the debugger get something different to another process
> 
> Thanks in advance..
> 





More information about the Pharo-project mailing list