Docs: Section on local variables

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Fri Apr 20 12:17:14 PDT 2012


"Timon Gehr" <timon.gehr at gmx.ch> wrote in message 
news:jmrnlo$22p$1 at digitalmars.com...
> On 04/20/2012 01:04 PM, bearophile wrote:
>> Andrej Mitrovic:
>>
>>> I think these features probably belong to some lint-type tool and not
>>> the compiler.
>>
>> On the contrary, I hope to see them implemented in the D front-end.
>> I've seen again and again that people don't even use warnings, so I don't
>> think many of them use lints.
>> This means, tests should be built-in and
>> active on default (this means I'd like D informational warnings to be
>> active on default, and be disabled with a compiler switch!).
>>
>
> I don't usually use warnings because of this issue:
> http://d.puremagic.com/issues/show_bug.cgi?id=6552

Since implicit fallthrough is going away, that's more a problem with a 
*missing* warning (in the second example) rather than an erroneous warning. 
So not using warnings doesn't solve that, it just makes all the rest of the 
warnings go missing, too.




More information about the Digitalmars-d mailing list