[squeak-dev] The Trunk: Tools-mt.1058.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 22 06:58:42 UTC 2021

Marcel Taeumel uploaded a new version of Tools to project The Trunk:

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

Name: Tools-mt.1058
Author: mt
Time: 22 June 2021, 8:58:40.213448 am
UUID: dd77c5e8-ea36-4e94-9022-de53acef15d2
Ancestors: Tools-eem.1057

Fixes missing "references to binding" entry in DictionaryInspector menu.

The bug was that there are bindings other than (sub-)instances of Binding, even regular Associations. Well, #isVariableBinding is older than Environment's Binding hierarchy. Not sure whether even Undeclared should hold instances of Binding.

See http://lists.squeakfoundation.org/pipermail/squeak-dev/2021-June/215860.html

=============== Diff against Tools-eem.1057 ===============

Item was changed:
  ----- Method: DictionaryInspector>>isBindingSelected (in category 'bindings') -----
  	"Whether the currently selection association is a binding to a class or global."
  	^ self selectedKey ifNil: [false] ifNotNil: [:key |
+ 		(self object associationAt: key) isVariableBinding]!
- 		(self object associationAt: key) isKindOf: Binding]!

More information about the Squeak-dev mailing list