-
Notifications
You must be signed in to change notification settings - Fork 699
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
Don't warn about 'prepositive-qualified-module' in Paths_pkgs #8336
Don't warn about 'prepositive-qualified-module' in Paths_pkgs #8336
Conversation
T3827 sporadically fails, but I don't think it has anything to do with this PR :) |
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.
LGTM.
BTW, that's an interesting failure. Let me rerun CI and see if it repeats.
Yeah, I got it while testing on my own repo too.
|
On Linux? Which GHC version? |
It failed on |
I've only seen it on GHC 9.2. |
Last CI failure on |
I think I've fixed CI, do let me rebase and check. |
@mergify rebase |
✅ Branch has been successfully rebased |
5ceec75
to
6340661
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.
LGTM, thanks @martijnbastiaan! do you want to apply the merge-me label?
Yes please. |
@martijnbastiaan: I took the liberty of giving you the Triage privilege for the cabal repo. If this is OK, please verify by setting the merge_me label. |
Done! Let's see if it gets picked up. |
@martijnbastiaan just in case: we have a Mergify setting that makes it wait for 2 days before merging (this is to ensure that everyone is happy have chance to chime in if not). |
6340661
to
921bf6b
Compare
Let me rebase to see if the recent CI workaround unblocks merging. |
@mergify rebase |
✅ Branch has been successfully rebased |
d44a102
to
e271f60
Compare
@mergify rebase |
✅ Branch has been successfully rebased |
e271f60
to
7465118
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.
Thanks for the PR!
I have some stylistic nit-picking...
cabal-testsuite/PackageTests/PathsModule/ImportQualifiedPost/my.cabal
Outdated
Show resolved
Hide resolved
7465118
to
5365335
Compare
Enabling '-Wprepositive-qualified-module' in a project leads to warnings when used in combination with Cabal's Paths_* feature. Given that this is code outside of a user's control, this warning should be disabled locally.
5365335
to
cc8d5df
Compare
I've applied the style suggestions. Given that this was approved before and that it hasn't attracted further comments, I've taken the liberty to re-apply the |
@martijnbastiaan: thank you for the PR once again. |
Enabling '-Wprepositive-qualified-module' in a project leads to warnings
when used in combination with Cabal's Paths_* feature. Given that this
is code outside of a user's control, this warning should be disabled
locally.
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!