[Pkg] The Trunk: Kernel-topa.915.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 31 20:16:23 UTC 2015


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)]]]
  !



More information about the Packages mailing list