The Trunk: System-eem.356.mcz

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

The Trunk: System-eem.356.mcz

commits-2
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.356.mcz

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

Name: System-eem.356
Author: eem
Time: 14 August 2010, 9:00:43.49 pm
UUID: 91353a1a-4d03-420b-b999-6f1bdfced9d3
Ancestors: System-ar.355

Fix ChangeRecord>>methodClass so that class comment
change defs can be replayed.

=============== Diff against System-ar.355 ===============

Item was changed:
  ----- Method: ChangeRecord>>methodClass (in category 'access') -----
  methodClass
  | methodClassName methodClass |
+ (#(method #classComment) includes: type) ifFalse: [ ^ nil ].
- type == #method ifFalse: [ ^ nil ].
  methodClassName := class subStrings
  ifEmpty: [ ^ nil ]
  ifNotEmptyDo:
  [ : parts | parts first asSymbol ].
  (Smalltalk globals includesKey: methodClassName) ifFalse: [ ^ nil ].
  methodClass := Smalltalk at: methodClassName.
  ^ meta
  ifTrue: [ methodClass class ]
  ifFalse: [ methodClass ]!