[nem-en] 0000898: 'int' treated as an identifier even if
usedwithout verbatim specifier (@)
Michal Moskal
michal.moskal at gmail.com
Tue Feb 20 16:31:13 CET 2007
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ł
More information about the devel-en
mailing list