[Pkg] The Trunk: Collections-cwp.561.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Jan 18 15:32:28 UTC 2014

Colin Putney uploaded a new version of Collections to project The Trunk:

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

Name: Collections-cwp.561
Author: cwp
Time: 18 January 2014, 10:30:33.417 am
UUID: f56874c6-140a-4497-86b1-694b8b00acd6
Ancestors: Collections-dtl.560

Flagged methods that need to be made environment-aware.

=============== Diff against Collections-dtl.560 ===============

Item was changed:
  ----- Method: Dictionary>>associationDeclareAt: (in category 'accessing') -----
  associationDeclareAt: aKey
  	"Return an existing association, or create and return a new one.  Needed as a single message by ImageSegment.prepareToBeSaved."
+ 	self flag: #environments.
  	^ self associationAt: aKey ifAbsent: [
  		| existing |
  		(Undeclared includesKey: aKey)
  				[existing := Undeclared associationAt: aKey.
  				Undeclared removeKey: aKey.
  				self add: existing]
  				[self add: aKey -> false]]!

More information about the Packages mailing list