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

commits at source.squeak.org commits at source.squeak.org
Mon Oct 17 19:31:01 UTC 2016

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

==================== 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') -----
+ 	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]]]!

More information about the Packages mailing list