[nem-en] 0000898: 'int' treated as an identifier even if usedwithout verbatim specifier (@)

Kamil Skalski kamil.skalski at gmail.com
Tue Feb 20 19:06:14 CET 2007


| x as y =>

is not implicit... in fact, you EXPLICITLY state that 'x' should be
visible AS variable name 'y'

2007/2/20, Vladimir Reshetnikov <v.reshetnikov at gmail.com>:
> On 2/20/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> > But would it work only for variables introduced in matching's  'as'
> > pattern? Because if it is for any variable definitions, I don't this
> > it is a good idea.
>
> If a variable declared explicitly (via 'def' or 'mutable'), hiding a type is OK.
> My request is to prevent an accidental hiding a type only by an
> implicitly declared variable.
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list