Commit Graph

14 Commits

Author SHA1 Message Date
Su 9b171c46d2
don't use deprecated properties (#894) 2023-02-28 00:48:14 +01:00
WebFreak001 e027965176 fix null pointer access in unused.d 2022-03-07 22:53:04 +01:00
WebFreak001 a3fe7611a8 implement new ThrowExpression & shortened methods 2022-01-31 18:04:17 +01:00
MoonlightSentinel 00a0eedad5
Fix issue #794: False positive for parameter used in __traits(...)
This applies the already implemented solution for variables (#790) to
parameters by moving the __traits() logic in a new shared superclass.

It's explicitly excluded from UnusedIdentifier because I cannot think
of a good reason to silently allow unused labels.
2020-03-08 02:07:05 +01:00
Eugene Wissner 9502af2494 Split unused variable and unused parameter checks (#768) 2019-07-02 22:56:52 +02:00
Basile-z 378cbcc6bd
fix #762 - False positive on "unused variable" with side effect (#763) 2019-05-29 11:11:03 +02:00
BBasile 9ef6d0aec1 fix - adaptation to correct DIP 1009 impl. was incomplete (#728)
fix - adaptation to correct DIP 1009 impl. was incomplete
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-11-29 09:51:23 +01:00
Basile Burg 8d3dcc55bc fix #723 - segfault when running D-Scanner master against dparse repo with -S 2018-11-27 14:40:12 +01:00
Basile Burg aebb5b4a4c fix #696 - Unused variable fake positive with UFCS
Apparently it was a bug not only specific to the UFCS.
Now every use of the member access operator is handled.
2018-09-16 16:58:39 +02:00
Basile Burg 7494c5fb14 Update dparse to fix possible infinite loop and adapt to ParameterAttribute 2018-08-29 18:19:58 +02:00
Basile Burg 67a8257d7b update dependencies, fix some possible crash during linting
fixes are in dparse and previous dsymbol version didn't work with newest dparse so it's updated as well.
2018-05-14 16:37:59 +02:00
Basile Burg 8c44dd5092 Set all checkers class "final" 2018-04-22 20:33:58 +02:00
Sebastian Wilzbach 27b09eebfd Check for function parameters in mixins (#484)
* Check for function parameters in mixins

* Don't trigger errors on uncertain mesages
2018-03-22 23:53:47 +01:00
Laurent Tréguier 2be1a1f22f Move everything under package `dscanner` (#526)
* Move everything under package `dscanner`

* Fix .gitignore

* Fix .dscanner.ini
2018-03-22 20:15:42 +01:00