The Trunk: Tools-eem.730.mcz

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

The Trunk: Tools-eem.730.mcz

commits-2
Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.730.mcz

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

Name: Tools-eem.730
Author: eem
Time: 17 October 2016, 12:29:51.991505 pm
UUID: 34a02f77-e6db-4ae1-af45-dbf885667ebc
Ancestors: Tools-tfel.729

Browser robustness when e.g. revert package removes a class definitioon and so self selectedClass evaluates to nil.

=============== Diff against Tools-tfel.729 ===============

Item was changed:
  ----- Method: Browser>>didCodeChangeElsewhere (in category 'self-updating') -----
  didCodeChangeElsewhere
 
+ super didCodeChangeElsewhere ifTrue:
+ [^true].
+ self classDefinitionIndicated ifFalse:
+ [^false].
+ ^self metaClassIndicated
+ ifFalse:
+ [classDefinition ~= (self selectedClass ifNotNil: [:selectedClass| selectedClass definition])]
+ ifTrue:
+ [metaClassDefinition ~= (self selectedClass ifNotNil: [:selectedClass| selectedClass theMetaClass definition])]!
- ^ super didCodeChangeElsewhere or: [self classDefinitionIndicated
- and: [self metaClassIndicated
- ifFalse: [classDefinition ~= self selectedClass definition]
- ifTrue: [metaClassDefinition ~= self selectedClass theMetaClass definition]]]!