[FIX] ActionSequenceFix-nk ( v3, adds Object>>removeActionsSatisfying: and removes unused methods )

Ned Konz ned at bike-nomad.com
Thu Oct 9 17:28:17 UTC 2003


The attached CS does the following:
	- Makes it possible to do:
		someObject when: #something evaluate: (MessageSend ...)
	- Removes a couple of unused methods from WeakActionSqeuence
	- Adds Object>>removeActionsSatisfying:

Stef said on 5 October:

> I do not understand why you remove the method 
> WeakActionSequence removeSelector: #isReceiverOrAnyArgumentGarbage
> while you need it 
> WeakActionSequence>>isValid
>	^self isReceiverOrAnyArgumentGarbage not

Because WeakActionSequence>>isValid is never called.
The attached CS removes it too.

> the changes seems simple even if I do not understand how there are
> related to the impossibility to do 
>	"Fixes a bug that makes it impossible to say:
>	someObject when: #something evaluate: (MessageSend ...)"

This was because MessageSend didn't understand #isValid.














< I'm a bug-fixing machine! >

This post brought to you by the BugFixArchiveViewer, a handy tool that
makes it easy to comment on proposed fixes and enhancements for Squeak. 
For more information, check out the Web page for the BugFixArchiveViewer
project: http://minnow.cc.gatech.edu/squeak/3214 

< I'm a bug-fixing machine! >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ActionSequenceFix-nk.3.cs.gz
Type: application/octet-stream
Size: 797 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031009/e85b65f0/ActionSequenceFix-nk.3.cs-0001.obj


More information about the Squeak-dev mailing list