[squeak-dev] The Trunk: Monticello-ar.376.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 2 01:29:43 UTC 2010


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

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

Name: Monticello-ar.376
Author: ar
Time: 1 March 2010, 5:29:08.27 pm
UUID: 8742232a-35aa-8647-9f89-7c31dd39a490
Ancestors: Monticello-ul.375

Include Bert's old ExternalStructure initialize fix from Croquet.

=============== Diff against Monticello-ul.375 ===============

Item was changed:
  ----- Method: MCMethodDefinition>>postload (in category 'installing') -----
  postload
+ 	self isInitializer
+ 		ifTrue: [self actualClass theNonMetaClass initialize].
+ 	self isExternalStructureFieldDefinition
+ 		ifTrue: [self actualClass theNonMetaClass compileFields].!
- 	(self isInitializer and: [ self actualClass isTrait not ]) ifTrue: [
- 		self actualClass theNonMetaClass initialize]!

Item was added:
+ ----- Method: MCMethodDefinition>>isExternalStructureFieldDefinition (in category 'testing') -----
+ isExternalStructureFieldDefinition
+ 	^ selector = #fields
+ 		and: [classIsMeta
+ 			and: [
+ 				(Smalltalk at: #ExternalStructure ifPresent: [:externalStructure |
+ 					self actualClass theNonMetaClass inheritsFrom: externalStructure]) == true]]
+ 			
+ 	!




More information about the Squeak-dev mailing list