[Pkg] The Trunk: Tools-eem.527.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 8 14:08:27 UTC 2014

Eliot Miranda uploaded a new version of Tools to project The Trunk:

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

Name: Tools-eem.527
Author: eem
Time: 8 August 2014, 7:07:51.034 am
UUID: d85d5331-2791-4594-9f21-79d551eafa08
Ancestors: Tools-eem.526

Make senders work in MessageNames when there is a
selector but no method is selected.

=============== Diff against Tools-eem.526 ===============

Item was changed:
  ----- Method: MessageNames>>selectedMessageName (in category 'selection') -----
+ 	selectorList basicSize = 0 ifTrue: [^ nil]. "Deals with selectorList nil or empty"
+ 	^selectorList at: (selectorListIndex max: 1) ifAbsent: [nil] "If no selection we can still find a selector"!
- 	selectorList ifNil: [^ nil].
- 	^selectorListIndex = 0 ifFalse: [selectorList at: selectorListIndex ifAbsent: [nil]]!

More information about the Packages mailing list