The Trunk: Monticello-ar.376.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Monticello-ar.376.mcz

commits-2
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]]
+
+ !