[squeak-dev] The Trunk: Traits-ul.289.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 4 01:18:21 UTC 2011

Levente Uzonyi uploaded a new version of Traits to project The Trunk:

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

Name: Traits-ul.289
Author: ul
Time: 3 August 2011, 1:54:50.416 am
UUID: 51226bb1-b487-ec4f-b7f6-7d8d07df6994
Ancestors: Traits-nice.288

Removed unnecessary blocks.

=============== Diff against Traits-nice.288 ===============

Item was changed:
  ----- Method: TraitAlias>>selectorsAndMethodsDo: (in category 'operations') -----
  selectorsAndMethodsDo: aBlock
  	"enumerates all selectors and methods in a trait composition"
+ 	subject selectorsAndMethodsDo: aBlock.
- 	subject selectorsAndMethodsDo:[:sel :meth|
- 		aBlock value: sel value: meth.
- 	].
  	aliases do:[:assoc| | method |
  		"Method can be nil during removals"
  		method := subject compiledMethodAt: assoc value ifAbsent:[nil].
  		method ifNotNil:[aBlock value: assoc key value: method].

More information about the Squeak-dev mailing list