[squeak-dev] The Trunk: Tools-ct.924.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 10 14:29:27 UTC 2019


Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.924.mcz

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

Name: Tools-ct.924
Author: ct
Time: 7 December 2019, 5:03:02.396431 pm
UUID: 0db76606-63d7-4a4a-94fd-99fe4a088304
Ancestors: Tools-mt.922

Fix a bug ProcessBrowser >> #selectedClass in case of no context selection

=============== Diff against Tools-mt.922 ===============

Item was changed:
  ----- Method: ProcessBrowser>>selectedClass (in category 'accessing') -----
  selectedClass
  	"Answer the class in which the currently selected context's method was  
  	found."
  	^ selectedClass
+ 		ifNil: [
+ 			selectedContext ifNil: [^ nil].
+ 			selectedClass := selectedContext receiver
- 		ifNil: [selectedClass := selectedContext receiver
  				ifNil: [selectedSelector := selectedContext method selector.
  					   selectedContext method methodClass]
  				ifNotNil: [selectedContext methodClass]]!



More information about the Squeak-dev mailing list