Docs: Section on local variables
Timon Gehr
timon.gehr at gmx.ch
Fri Apr 20 07:11:34 PDT 2012
On 04/20/2012 03:36 PM, bearophile wrote:
> Timon Gehr:
>
>> I don't usually use warnings because of this issue:
>> http://d.puremagic.com/issues/show_bug.cgi?id=6552
>
> Unspecified falltrough is going to become an error,
Hopefully after the bug is fixed.
> so it's not a good example of warning.
>
It is a warning now. One example is sufficient.
> And if you are trying to say that warnings are not so good
I am not saying that warnings are not so good. I am saying I don't
(even) _use_ them currently.
> because they sometimes warn against something actually correct,
I'd claim, most of the time.
> that's a DMD bug,
Not necessarily. Often, warnings have to be conservative. Especially in
the case discussed in the OP.
> so again it's not a good example :-)
I am not sure what you are trying to say.
>
> Regarding the OP topic I have opened:
> http://d.puremagic.com/issues/show_bug.cgi?id=3960
> http://d.puremagic.com/issues/show_bug.cgi?id=4694
>
> Bye,
> bearophile
More information about the Digitalmars-d
mailing list