Remove redundant OPTIONS_GHC pragmas from templates#11330
Remove redundant OPTIONS_GHC pragmas from templates#11330sol wants to merge 1 commit intohaskell:masterfrom
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… |
|
@sol would you like to add "merge me" label? |
(`-w` alone should be sufficient)
|
@sol could you please rebase and push again to make CI fully green? |
There are two things that I lack the context and background to comprehend.