The Trunk: Collections-nice.580.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.580.mcz

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

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

Name: Collections-nice.580
Author: nice
Time: 28 July 2014, 10:42:04.046 pm
UUID: 5f8aabc7-d706-48e6-8d68-e591c6d00176
Ancestors: Collections-nice.579

peekLast commit and try again...

=============== Diff against Collections-nice.579 ===============

Item was changed:
  ----- Method: RWBinaryOrTextStream>>peekLast (in category 'accessing') -----
  peekLast
  "Return that item just put at the end of the stream"
 
  ^ position > 0
  ifTrue: [self isBinary
+ ifTrue: [(collection at: position) asInteger]
+ ifFalse: [(collection at: position) asCharacter]]
- ifTrue: [(collection at: position) asCharacter]
- ifFalse: [(collection at: position) asInteger]]
  ifFalse: [nil]!