The Trunk: Kernel-topa.915.mcz

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

The Trunk: Kernel-topa.915.mcz

commits-2
Tobias Pape uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-topa.915.mcz

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

Name: Kernel-topa.915
Author: topa
Time: 31 March 2015, 10:15:55.476 pm
UUID: 3318e7de-b5f6-4f3b-a105-7d404be3b78f
Ancestors: Kernel-cmm.914

Fix arguments access in WeakMessageSend comparison.

They may be nil; but the accessor guards that already.

=============== Diff against Kernel-cmm.914 ===============

Item was changed:
  ----- Method: WeakMessageSend>>= (in category 'comparing') -----
  = anObject
  "Compare equal to equivalent MessageSend"
  ^ anObject isMessageSend
  and: [self receiver == anObject receiver
  and: [selector == anObject selector
+ and: [(Array withAll: self arguments) = (Array withAll: anObject arguments)]]]
- and: [(Array withAll: arguments) = (Array withAll: anObject arguments)]]]
  !