D-Scanner
D-Scanner copied to clipboard
Swiss-army knife for D source code
Depends on https://github.com/dlang-community/dsymbol/pull/162. Also inserts some @safe and @trusted mainly in dsymbol. Using this in call to ``` make -f posix.mak style ``` in phobos passes without crash.
See this CI run: https://github.com/chances/teraflop-d/pull/11/checks?check_run_id=1817643809#step:8:41 I'm not sure if this is a problem with dsymbol directly, see https://github.com/dlang-community/dsymbol/issues/157 ``` core.exception.AssertError@../../../.dub/packages/dsymbol-0.11.3/dsymbol/src/dsymbol/modulecache.d(261): Assertion failure ``` https://github.com/dlang-community/dsymbol/blob/b8920c2a4593e24d1ced91f8f0bce9e50f598e4d/src/dsymbol/modulecache.d#L261
This causes behavior to differ between debug and release builds.
Manjaro/Arch x86_64, `dscanner-git` v0.11.0-1-g2963358 from AUR. I have a clone of a repo that `dscanner --styleCheck` throws a UTFException on, and I can't seem to determine why. Making a clean...
I have a header file that is generated by dpp, which has some linting issues (e.g. missing documentation, etc), and I want to exclude it from my linted files. How...
see dlang-community/DCD#634
Example of code that DMD silently accepts with warnings enabled: ``` d class Super { int x; } class Sub : Super { int x; } ```
As per PR: https://github.com/dlang/dmd/pull/11846. This currently blocks the simplification of phobos via this new technology. This happens because libdparse does not recognize AliasAssignment. A PR was made to fix libdparse:...
How hard would it be to include a null check for uninitialized objects? Example: class C { int n = 42; } void main() { C c; int b =...
Currently, only `const`, `immutable`, and `inout` implementations of these methods are allowed.