[Pharo-dev] Color is strange

Benjamin benjamin.vanryseghem.pharo at gmail.com
Wed Oct 16 10:53:13 EDT 2013


put a halt 

XD

Ben

On Oct 16, 2013, at 4:49 PM, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:

> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131016/7f52ae49/attachment-0002.html>


More information about the Pharo-dev mailing list