[squeak-dev] The Trunk: Kernel-ar.363.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 1 18:19:42 UTC 2010


Andreas Raab uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ar.363.mcz

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

Name: Kernel-ar.363
Author: ar
Time: 1 January 2010, 7:18:12 am
UUID: bb277eb0-1fa6-ef4f-94d3-e29d4ebfc9ee
Ancestors: Kernel-ul.362

Making traits unloadable: We need three backstop methods in Behavior.

=============== Diff against Kernel-ul.362 ===============

Item was added:
+ ----- Method: Behavior>>traitComposition (in category 'traits') -----
+ traitComposition
+ 	"Backstop. When traits are unloaded we never have a trait composition"
+ 	^#()!

Item was changed:
  ----- Method: Behavior>>superclass:methodDictionary:format: (in category 'initialize-release') -----
  superclass: aClass methodDictionary: mDict format: fmt
  	"Basic initialization of the receiver.
  	Must only be sent to a new instance; else we would need Object flushCache."
  	superclass := aClass.
  	format := fmt.
+ 	methodDict := mDict.!
- 	methodDict := mDict.
- 	self traitComposition: nil!

Item was added:
+ ----- Method: Behavior>>hasTraitComposition (in category 'traits') -----
+ hasTraitComposition
+ 	"Backstop. When traits are unloaded we never have a trait composition"
+ 	^false!

Item was added:
+ ----- Method: Behavior>>traitCompositionString (in category 'traits') -----
+ traitCompositionString
+ 	"Backstop. Monticello needs a traitCompositionString even with traits unloaded"
+ 	^'{}'!




More information about the Squeak-dev mailing list