The Trunk: Monticello-mt.648.mcz

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

The Trunk: Monticello-mt.648.mcz

commits-2
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!