[squeak-dev] The Trunk: Kernel-fn.1200.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 10 10:04:28 UTC 2018


Fabio Niephaus uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-fn.1200.mcz

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

Name: Kernel-fn.1200
Author: fn
Time: 10 December 2018, 11:04:26.031004 am
UUID: 4bac5539-ca56-4e57-bf97-da1450d7a168
Ancestors: Kernel-eem.1199

Fix WeakMessageSend's class comment.

=============== Diff against Kernel-eem.1199 ===============

Item was changed:
  Object weakSubclass: #WeakMessageSend
  	instanceVariableNames: 'selector shouldBeNil arguments'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Kernel-Objects'!
  
+ !WeakMessageSend commentStamp: 'fn 12/10/2018 11:03' prior: 0!
+ Instances of WeakMessageSend encapsulate message sends to objects, like MessageSend. Unlike MessageSend it is not necessarily a valid message.  A request to value only results in a send if in fact it is valid. 
- !WeakMessageSend commentStamp: 'tlk 5/5/2006 12:39' prior: 0!
- Instances of WeakMessageSend encapsulate message sends to objects, like MessageSend. Unlike MessageSend it is not necessarily a valid mesage.  A request to value only results in a send if infact it is valid. 
  
+ See MessageSendComments also. WeakMessageSend is used primarily for event registration. 
- See MessageSendComments also. WeakMessageSend is used primarily for event regristration. 
  
+ Unlike MessageSend WeakMessageSend stores receiver (object receiving the message send) as the first and only element of its array as opposed to a named ivar.
- Unlike MessageSend WeakMessageSend stoes receiver (object receiving the message send) as a the first and only element of its array as opposed to a named ivar.
  But like MessageSend, it does have
   selector		Symbol -- message selector
   arguments		Array -- bound arguments
  and it also has
+  shouldBeNil	Array of Booleans --  used to track valid nil values in arguments array!
-  shouldBeNil		Boolean --  used to ensure array of arguments is not all nils!



More information about the Squeak-dev mailing list