The Trunk: Collections-nice.177.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Collections-nice.177.mcz

commits-2
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.177.mcz

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

Name: Collections-nice.177
Author: nice
Time: 31 October 2009, 5:41:03 am
UUID: 5444f379-2664-46a1-9db9-7c74edf779fe
Ancestors: Collections-ar.176

Patch to make literal Array store Float exactly

=============== Diff against Collections-ar.176 ===============

Item was changed:
  ----- Method: Array>>storeOn: (in category 'printing') -----
  storeOn: aStream
  "Use the literal form if possible."
 
  self isLiteral
  ifTrue:
  [aStream nextPut: $#; nextPut: $(.
  self do:
  [:element |
+ element storeOn: aStream.
- element printOn: aStream.
  aStream space].
  aStream nextPut: $)]
  ifFalse: [super storeOn: aStream]!