[squeak-dev] The Trunk: Monticello-mt.648.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Aug 24 07:44:12 UTC 2016


Marcel Taeumel uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-mt.648.mcz

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

Name: Monticello-mt.648
Author: mt
Time: 24 August 2016, 9:43:53.760054 am
UUID: f94e32a5-1d5d-bf4a-ba2d-b5be328f1925
Ancestors: Monticello-mt.647

Due to updated trait composition string, fix requirements code.

=============== Diff against Monticello-mt.647 ===============

Item was changed:
  ----- Method: MCTraitDefinition>>requirements (in category 'comparing') -----
  requirements
  	"Assuming that traits in a composition can be identified by
  	testing for the first character beeing an uppercase character
  	(and thus not a special character such as {, # etc.)"
  
  	| tokens traitNames |
  	self hasTraitComposition ifFalse: [ ^Array new ].
+ 	tokens := (Scanner new scanTokens: self traitComposition) flattened.
- 	tokens := Scanner new scanTokens: self traitComposition.
  	traitNames := tokens select: [:each | each first isUppercase].
  	^traitNames asArray!



More information about the Squeak-dev mailing list