What's the dot doing after 'aSelector' ? :-)

it's an empty statement -> gs parser does not allow that

btw, I think this is a rule in code critic, so if you launch that, you will get 
all these problems before trying to load them into GS

On 13 Sep 2010, at 13:55, Stéphane Ducasse wrote:

> Yes but what is wrong on gemstone.
> 
> Stef
> 
> 
>> Dear list,
>> 
>> while testing between Pharo and Gemstone I've noticed that Pharo allows 
>> following code, while Gemstone does not.
>> 
>> renderSelectorAndReturnBrushForSelector: aSelector.
>>    ^canvas textInput
>>        id: (self idForSelector: aSelector);
>>        value: (self inputValueForSelector: aSelector);
>>        script: (canvas jQuery new datepicker);
>>        yourself
>> 
>> The error is that in the message definition: 
>> renderSelectorAndReturnBrushForSelector: aSelector. there is a dot on the 
>> end. 
>> 
>> This seems like an error in the Pharo compiler ? or not?
>> 
>> Kind Regards,
>> 
>> Bart
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> 
> 
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to