Releases: dlang-community/D-Scanner
Releases · dlang-community/D-Scanner
0.7.2
0.7.1
v0.7.0
v0.6.0
v0.5.11
Bugs fixed
- Crash when checking code containing a variable whose type is infered from an auto function returning a new'ed derived anonymous class. (#697)
- Crash when trying to display the AST (--ast) and if the code contained empty labels. (#698).
- The version number returned when D-Scanner was built with DUB contained null characters. (#695)
- Case of false positive generated by the "unmodified" check. (#696)
v0.5.10
v0.5.9
Enhancements
- Added support for expression-based contracts (DIP 1009). (#677)
- Added support for enum member attributes.
- Added support for parameter UDA.
Bugs fixed
- Possible
RangeError
when processing functions with contracts and oldbody
keyword. - Possible infinite loop on invalid code containing
in
within a body. - False positive in the final attribute check. (#685)
v0.5.8
v0.5.7
Bug fixed
- Fix a crash that could happen in the check for infinite ranges style. (#656)
- Fix wrong version number under windows. (#648)
- Fix false warning about non-const should not be emitted if the methods are
@disable
. (#658) - Fix false warning about missing
toHash
oropEquals
should not be emitted the existing method is@disable
. (#659) - Fix possibly ambiguous message output by the check for useless initializers. (#662)
- Fix usage of
body
as identifier creates a lot of false positive. (#649)
v0.5.6
Enhancements
- The check for properly documented functions also warns for missing
Throws:
DDOC section for uncaught calls toenforce
. (#635)