[nem-en] 0000898: 'int' treated as an identifier even if
usedwithout verbatim specifier (@)
Kamil Skalski
kamil.skalski at gmail.com
Tue Feb 20 18:45:26 CET 2007
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.
2007/2/20, Michal Moskal <michal.moskal at gmail.com>:
> On 2/20/07, vc <vc at rsdn.ru> wrote:
> > > We (VladD2, me and others) discussed this a lot at RSDN, so, we
> > > urgently ask you to issue an error if an implicitly introduced
> > > variable name hides a type.
> > > It will prevent many mistakes, and we do not see any strong reasons
> > > against it.
> >
> > +1
>
> IMHO if the warning stated shadowing type with a local variable (not
> just unused variable 'int', which doesn't mean anything to a
> beginner), then it would also be fine.
>
>
> --
> Michał
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list