-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
#600 Code action to ignore hlint hints module wide #2458
Conversation
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.
Amazing work, including sensible new test cases and nice refactorings, many many thanks
There is some problem with the pragmas placement in ubuntu and ghc-8.8.4:
|
I think I've fixed the tests, but it's weird. The issue was me not using the right dynflags in some cpp for the pragmas parser initialization, but that should (and does) fail the Pragmas plugin tests for 8.8.4. Yet I never saw any 8.8.4 test failures from the CI in the PR where I extracted the pragma parsing stuff into its own module. This means that the CI didn't run the Pragmas plugin tests for that PR? Either that or somehow default dynflags have changed since then, and the Pragma plugin tests were passing back then but not now. |
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.
Really a great work, happy to see a contibution to my beloved hlint plugin
looking forward to your next contributions
It will also insert a
-Wno-unrecognized-pragmas
options pragma only if that dynflag isn't already set.