The Trunk: System-mt.1150.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Trunk: System-mt.1150.mcz

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

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

Name: System-mt.1150
Author: mt
Time: 8 April 2020, 9:42:48.186591 am
UUID: 6da16c04-2b78-3344-a72a-ba39dedd948a
Ancestors: System-nice.1149

Lift some weight from ToolSet by delegating #browseMethod: to the concrete set of tools.

=============== Diff against System-nice.1149 ===============

Item was changed:
  ----- Method: ToolSet class>>browseMethod: (in category 'browsing') -----
  browseMethod: aCompiledMethod
- "For convenience: Either open a code browser or a version browser for the given method."
+ self default ifNil: [^ self inform: 'Cannot open Browser'].
+ ^ self default browseMethod: aCompiledMethod!
- ^ aCompiledMethod isInstalled
- ifTrue: [self browse: aCompiledMethod methodClass selector: aCompiledMethod selector]
- ifFalse: [self browseMethodVersion: aCompiledMethod]!