Am 2012-04-17 um 15:20 schrieb Guillermo Polito: > Be careful that #isBehavior is false for Traits :). To fix I think.
oO I did not expect that. However, I think Traits should respond with true to traits. Well then… 1) send isTrait, if applicable defaultGlobalSymbols ^ (self environment "or 'Smalltalk globals' or 'Smalltalk', to your taste" reject: [:g | (g isBehavior) or: [ (g respondsTo: #isTrait) and: [ g isTrait]]]) keys or 2) make Traits respond true to isBehavior ;) Best -Tobias