Skip to content
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

Merged
merged 2 commits into from
Dec 22, 2019
Merged

[#339] Support GHC-8.8 #383

merged 2 commits into from
Dec 22, 2019

Conversation

vrom911
Copy link
Member

@vrom911 vrom911 commented Dec 20, 2019

Resolves #339

  • Keep code style used in the changed files (see style-guide for more details).
  • Use the stylish-haskell file.
  • Update documentation (README, haddock) if required.
  • Create a new test project using summoner and check that the changes work as expected.

@vrom911 vrom911 added the generated project Files, folder generation by the summoner label Dec 20, 2019
@vrom911 vrom911 added this to the v1.4: Polishment and update milestone Dec 20, 2019
@vrom911 vrom911 requested a review from chshersh as a code owner December 20, 2019 14:46
@vrom911 vrom911 self-assigned this Dec 20, 2019
Copy link
Contributor

@hint-man hint-man bot left a 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"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be error?

Copy link
Member Author

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!

Copy link
Contributor

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!

Copy link
Contributor

@chshersh chshersh left a 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 😊

README.md Show resolved Hide resolved
@@ -211,6 +211,8 @@ cabalFile Settings{..} = File (toString settingsRepo ++ ".cabal") cabalFileConte
-Wmissing-export-lists
-Wpartial-fields
|]
<> memptyIfFalse (settingsTestedVersions `hasLeast` Ghc881)
"-Wmissing-deriving-strategies\n"
Copy link
Contributor

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!

Copy link
Contributor

@chshersh chshersh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!! ❤️

@chshersh chshersh merged commit 95c7633 into master Dec 22, 2019
@chshersh chshersh deleted the vrom911/339-Support-GHC-8.8 branch December 22, 2019 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generated project Files, folder generation by the summoner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support GHC-8.8
2 participants