[Pharo-dev] Color is strange

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Oct 16 10:49:36 EDT 2013


Hi guys

I wonder if this is me that miss something important… but here is what I did:

Color>>printOn: aStream 
	| name |
	Transcript show:'x'. 
	(name := self name) ifNotNil: 
		[ ^ aStream
			nextPutAll: 'Color ';
			nextPutAll: name ].
	self storeOn: aStream


then I type 

1 makeAnError and execute it.

and in the transcript I get 
	xxxxxxxxxxxxxxxxxxxxxSmallInteger

I'm totally puzzled why would we printOn: color ? before even opening a browser.

stef



More information about the Pharo-dev mailing list