-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
[#339] Support GHC-8.8 #383
Conversation
Resolves #339
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.
Do you know why your PR is still not approved? Because I chose not to approve it. But they will.
@@ -211,6 +211,8 @@ cabalFile Settings{..} = File (toString settingsRepo ++ ".cabal") cabalFileConte | |||
-Wmissing-export-lists | |||
-Wpartial-fields | |||
|] | |||
<> memptyIfFalse (settingsTestedVersions `hasLeast` Ghc881) | |||
"-Wmissing-deriving-strategies\n" |
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.
Should it be error?
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.
Also, we should definitely go for the conditional options per GHC versions as you suggested 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.
I think it should be error. It's an interesting question, to which warnings we should add -Werror
but I'd love to add it here since strategies are implied by our style-guide and this is a good default for our projects. And yes, I agree that after we introduce common stanzas, a lot of this stuff will be improved 🙂 Thanks for support my idea!
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.
Nice migration to a new ghc! The is better and better 😊
@@ -211,6 +211,8 @@ cabalFile Settings{..} = File (toString settingsRepo ++ ".cabal") cabalFileConte | |||
-Wmissing-export-lists | |||
-Wpartial-fields | |||
|] | |||
<> memptyIfFalse (settingsTestedVersions `hasLeast` Ghc881) | |||
"-Wmissing-deriving-strategies\n" |
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.
I think it should be error. It's an interesting question, to which warnings we should add -Werror
but I'd love to add it here since strategies are implied by our style-guide and this is a good default for our projects. And yes, I agree that after we introduce common stanzas, a lot of this stuff will be improved 🙂 Thanks for support my idea!
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 great!! ❤️
Resolves #339
stylish-haskell
file.summoner
and check that the changes work as expected.