[squeak-dev] The Trunk: CollectionsTests-nice.200.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Mar 11 22:59:51 UTC 2013


2013/3/11 Frank Shearar <frank.shearar at gmail.com>:
> On 11 March 2013 22:40,  <commits at source.squeak.org> wrote:
>> Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk:
>> http://source.squeak.org/trunk/CollectionsTests-nice.200.mcz
>>
>> ==================== Summary ====================
>>
>> Name: CollectionsTests-nice.200
>> Author: nice
>> Time: 11 March 2013, 11:40:07.355 pm
>> UUID: 1a65f82a-6a1c-465f-b111-72b99e08ec14
>> Ancestors: CollectionsTests-nice.199
>>
>> Change StringTest>>testNumArgs to reflect that an empty keyword message (composed uniquely of colons $: or with a single empty key #'a::') is not a valid Smalltalk pattern (I have a doubt about previous test, was it ever valid?).
>
> I had wondered about this. But didn't we discuss this the other day?
> I'm pretty sure Yoshiki said that it _was_ valid, because it's the
> "anonymous selector" in [ : a : b | a + b] (hideous whitespacing
> deliberate, to show the selector).
>
> frank
>

Well, it was pure theory...
Outside a block - and I just checked down to Squeak 2.X - the Parser
does not consider ': x' as a valid pattern.
Also these changes break other tests from Colin (whose aim seems to
burry defunct alternate syntax).

Nicolas


More information about the Squeak-dev mailing list