[Pkg] SystemEditor: SystemEditor-mtf.141.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Sun Oct 26 01:03:04 UTC 2008

A new version of SystemEditor was added to project SystemEditor:

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

Name: SystemEditor-mtf.141
Author: mtf
Time: 25 October 2008, 6:04:05 pm
UUID: e996aa9d-e762-4d63-bb35-8f1eb6bdf638
Ancestors: SystemEditor-mtf.140

fixed the bug that caused SystemNavigation to find classes twice

=============== Diff against SystemEditor-mtf.140 ===============

Item was changed:
  ----- Method: ClassExporter>>export: (in category 'private') -----
  export: aClass
+ 	((aClass isBehavior) and: [aClass superclass notNil]
+ 		"Don't add aClass as subclass if a subclass exists that will become: aClass.
+ 			This can be checked by comparing the names. Otherwise, redundent
+ 			subclass entries appear, which makes
+ 			SystemNavigation>>allBehaviorsDo: find classes twice"
+ 		and: [aClass superclass subclasses noneSatisfy: [:ea | ea name = aClass name]])
- 	((aClass isBehavior) and: [aClass superclass notNil])
  		ifTrue: [aClass superclass addSubclass: aClass].
  	(environment includesKey: aClass name)
  		ifTrue: [self replace: aClass]
  		ifFalse: [environment at: aClass name put: aClass]!

More information about the Packages mailing list