Brian Schott
Brian Schott
Finding variables that are written to but never read is one of the purposes of this check. I'm tempted to close this as not a bug.
> So we could now add this weird DDoc logic into Dscanner, but I guess it's better to simply fix Ddoc. And hopefully also update the ddoc specification to say...
If it was as simple as pointing out a single place in the code where the logic should be added, it would have been added already. I have a few...
Pulling this from 0.6.0.
`dfmt test.d | diff test.d -`
You could just put a loop into a simple shell script.
Right now D-Scanner doesn't do any semantic analysis, so it assumes that when you're doing `a.length - 1` that `a.length` is probably `size_t`. If `a.length` happens to be 0 you'll...
There's a reason that this is a warning and not an error. The purpose of this check is to have people check their code for the possibility of integer underflow....
You can turn this warning off.
I think that I found the problem at the root of several of your bug reports: https://dlang.org/spec/grammar.html#LinkageAttribute Note that the specification says that the part that follows `extern(C++, ` needs...