The Trunk: Environments-nice.17.mcz

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

The Trunk: Environments-nice.17.mcz

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

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

Name: Environments-nice.17
Author: nice
Time: 10 March 2013, 11:44:37.036 pm
UUID: 12ebee07-1762-40c6-9cfc-1d6aeab68043
Ancestors: Environments-cwp.16, Environments-fbs.5

Merge fbs.5 because it has a return which makes removeKey:ifAbsent: better behaved.

=============== Diff against Environments-cwp.16 ===============

Item was changed:
+ ----- Method: Environment>>keyAtValue: (in category 'emulating') -----
- ----- Method: Environment>>keyAtValue: (in category 'compatibility') -----
  keyAtValue: anObject
  ^ self keyAtIdentityValue: anObject!

Item was changed:
+ ----- Method: Environment>>removeKey:ifAbsent: (in category 'accessing') -----
- ----- Method: Environment>>removeKey:ifAbsent: (in category 'compatibility') -----
  removeKey: key ifAbsent: aBlock
+ self flag: #review.
+ ^ contents removeKey: key ifAbsent: aBlock!
- contents
- removeKey: key
- ifAbsent: aBlock!