if(arr) now a warning

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 12:56:49 PDT 2015


On Saturday, 2 May 2015 at 14:37:08 UTC, Martin Nowak wrote:
> On Friday, 1 May 2015 at 19:45:18 UTC, Walter Bright wrote:
>> I suspect this kind of change and check would be appropriate 
>> for a D linter, and not be part of the core language.
>
> Yes it would fit nicely into a static analyzer, but DMD is 
> currently the only semantic analyzer we have.

dscanner exists
hopefully SDC will improve D tooling.


More information about the Digitalmars-d mailing list