I committed SLICE-DoNotCompileUnderscoreAssignments-LukasRenggli.1.mcz.

The only change is that the compiler refuses to compile underscore
assignments. It seems to be problematic to throw a deprecated message,
as this can happen in all kind of weird situations. So now you just
get a syntax error, or in interactive mode (when loading with
Monticello) a popup that gives you the possibility to fix the code. I
suggest to integrate that into Pharo 1.0. Loading old code is a bit
cumbersome, but I guess most people already fixed their code-base.

Next we can add underscore characters to the compiler in Pharo 1.1.
Supporting underscore identifiers and assignments at the same time
seems to be tricky, as there are all kinds of new ambiguities:
a_1negated could be an assignment of 1 negated to a, or an access of
the variable a_1negated :-/

Lukas

2009/11/4 Lukas Renggli <[email protected]>:
>> Hi torsten , just curious what mailer you use? it seems that all your
>> emails break the threading. This is very apparent when reading the
>> list via gmail. I wasn't sure if you knew. Just thought I would
>> mention it.
>
> It annoys me too :-)
>
> Lukas
>
>
>> Mike
>>
>> On Wednesday, November 4, 2009, Torsten Bergmann <[email protected]> wrote:
>>> +1
>>>
>>>
>>> --
>>> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
>>> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>>>
>>> _______________________________________________
>>> 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
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>



-- 
Lukas Renggli
http://www.lukas-renggli.ch

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

Reply via email to