Hi Igor,
Trait named: #TraitGroup uses: TraitA + TraitB + .... TraitN category: 'foo'
and suppose i want to use TraitGroup in one of my classes, but excluding one of the traits in the list above.. i.e. something like:
Object subclass: #Myclass uses: TraitGroup - TraitA ..
but the above code don't seem to work.. Any clues, how i can do that?
The exclusion is specified between a trait and a set of selectors, not between two traits. You need to write for example:
Object subclass: #Myclass uses: TraitGroup - {#m1 . #m2}
If #m1 and #m2 are two methods of TraitA (i.e., defined on or acquired by TraitA). Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.