-
Notifications
You must be signed in to change notification settings - Fork 724
Remove redundant OPTIONS_GHC pragmas from templates #11330
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
base: master
Are you sure you want to change the base?
Conversation
|
Just to be clear, if this was an honest mistake, then that's OK with me. Nobody's perfect and mistakes do happen. That's normal. But if this was intentional, then I don't have much sympathy for it. |
If a package is compiled with, say, It could probably bluntly set |
My naïve assumption was that the
It needlessly breaks GHC 7.10.3. Now, if you would get anything in return for making things less compatible than that could be a worthwhile trade-off. But changing {-# OPTIONS_GHC -fno-warn-missing-import-lists #-}
{-# OPTIONS_GHC -w #-}to {-# OPTIONS_GHC -Wno-missing-import-lists #-}
{-# OPTIONS_GHC -w #-}? That's strictly less compatible, no? Is there any justification to do that? |
Cabal stopped testing compatibility with GHC 7.10 quite some time ago (modern Linux distributives can no longer run old GHC binaries and macOS on ARM even less so), so that's why no one noticed it. But sure, |
I'm not a big fan of cargo culting. Is there a reason |
Even adding a test that doesn't seem to fail without the corresponding change… |
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.
It looks like a good cleanup of a somewhat messy history of drive-by edits... Thanks!
There are two things that I lack the context and background to comprehend.