[squeak-dev] The Inbox: Tools-cmm.926.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 17 21:55:19 UTC 2019


Chris Muller uploaded a new version of Tools to project The Inbox:
http://source.squeak.org/inbox/Tools-cmm.926.mcz

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

Name: Tools-cmm.926
Author: cmm
Time: 17 December 2019, 3:55:12.650705 pm
UUID: 162945a9-708f-4ebe-b5d3-07e5c6e0bda6
Ancestors: Tools-mt.925

- Fix debugging of the initialization of Dictionary's.
- Fix the order of entries rendered by inspectors of OrderedDictionary's.

=============== Diff against Tools-mt.925 ===============

Item was changed:
  ----- Method: DictionaryInspector>>calculateKeyArray (in category 'selecting') -----
  calculateKeyArray
  	"Recalculate the KeyArray from the object being inspected"
+ 	keyArray := object isInitialized
+ 		ifTrue: [ object keysInOrder asArray ]
+ 		ifFalse: [ Array empty ].
+ 	selectionIndex := 0!
- 
- 	keyArray := object keysSortedSafely asArray.
- 	selectionIndex := 0.
- !

Item was added:
+ ----- Method: HashedCollection>>isInitialized (in category '*Tools-Debugger') -----
+ isInitialized
+ 	^ array notNil and: [ tally notNil ]!



More information about the Squeak-dev mailing list