-
-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix D-Scanner linting issues #9070
Conversation
Thanks for your pull request and interest in making D better, @Vladiwostok! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub run digger -- build "master + phobos#9070" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand the check should limit itself to highlighting instances of unaligned if constraints. We should leave it to the user to then split the constraints as he/she sees fit.
I see. I just saw those conditions split on multiple lines and thought it would be easier to read if they can fit in a single line. Will revert those kind of changes |
Careful, there are many cases where a declaration is not intended for public use but must be |
I agree. We can create an issue in D-Scanner to implement |
|
Created issue: Dlang-UPB/D-scanner#165 |
1e8ebb5
to
f354eba
Compare
f354eba
to
8025c35
Compare
This PR contains only code format changes.
There are a couple of linting issues that are now detected with the dmd-as-a-lib D-Scanner.