[Pkg] The Trunk: Graphics-eem.199.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Feb 21 18:20:33 UTC 2013

Eliot Miranda uploaded a new version of Graphics to project The Trunk:

==================== Summary ====================

Name: Graphics-eem.199
Author: eem
Time: 21 February 2013, 10:19:44.192 am
UUID: 659cfcf3-6c10-4ef4-bb07-e407c0b1faa2
Ancestors: Graphics-eem.198

Use isNumber in fixing MNU in Smalltalk specialObjectsArray printString.
Point>>printOn: shouldn't assume its inst vars are numbers.

=============== Diff against Graphics-eem.198 ===============

Item was changed:
  ----- Method: Point>>printOn: (in category 'printing') -----
  printOn: aStream 
  	"The receiver prints on aStream in terms of infix notation."
  	x printOn: aStream.
  	aStream nextPut: $@.
+ 	(y isNumber and: [y negative]) ifTrue:
- 	(y isInteger and: [y negative]) ifTrue:
  		"Avoid ambiguous @- construct"
  		[aStream space].
  	y printOn: aStream!

More information about the Packages mailing list