-
Notifications
You must be signed in to change notification settings - Fork 334
Fix (some) HLint issues in wire-api #2065
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
Conversation
a5f7c14 to
4dac022
Compare
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.
oops? why did you turn this on if it obviously compiled before?
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.
ah, probably some overlap with RecordWildCards?
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.
Indeed, DisambiguateRecordFields is implied by RecordWildCards, but DisambiguateRecordFields is sufficient here.
Probably, this doesn't buy us much, but reducing HLint warnings helps to make the more important ones easier to spot...
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.
ah, probably some overlap with RecordWildCards?
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.
@battermann and this is why you should not mix hlint changes and feature work in the same PR! :) (see #2035)
pcapriotti
left a comment
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.
Looks good.
There are a lot left, but these ones should be safe to not change the application's behavior.
4dac022 to
1a99018
Compare
Fixing these issues has two benefits:
Checklist
changelog.d.