[squeak-dev] The Trunk: Traits-fbs.297.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 7 17:52:52 UTC 2013


Frank Shearar uploaded a new version of Traits to project The Trunk:
http://source.squeak.org/trunk/Traits-fbs.297.mcz

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

Name: Traits-fbs.297
Author: fbs
Time: 7 August 2013, 6:52:54.132 pm
UUID: 00f10a78-c0a1-a243-a90d-d0a642804ab8
Ancestors: Traits-fbs.296

#asClassDefinition, #classDefinitions implementors belong in Monticello.

=============== Diff against Traits-fbs.296 ===============

Item was removed:
- ----- Method: Trait>>asClassDefinition (in category 'monticello') -----
- asClassDefinition
- 	^Smalltalk at: #MCTraitDefinition ifPresent:[:aClass|
- 		aClass
- 			name: self name
- 			traitComposition: self traitCompositionString
- 			category: self category 
- 			comment: self organization classComment asString
- 			commentStamp: self organization commentStamp].!

Item was removed:
- ----- Method: Trait>>classDefinitions (in category 'monticello') -----
- classDefinitions
- 	| definitions |
- 	definitions := OrderedCollection with: self asClassDefinition.
- 	(self hasClassTrait
- 		and: [self classTrait hasTraitComposition
- 		and: [self classTrait traitComposition isEmpty not]])
- 			ifTrue: [definitions add: self classTrait asMCDefinition].
- 	^definitions asArray!



More information about the Squeak-dev mailing list