-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bump base for ghc-8.4 #306
Conversation
Warning I got a ghc panic with
|
Yeah, that's the same issue as https://gitlab.haskell.org/ghc/ghc/-/issues/21905 and probably similar to https://gitlab.haskell.org/ghc/ghc/-/issues/15436, fixed in GHC 8.4.4, which never happened. |
Thanks @Bodigrim. No worries then as we're targeting |
@andreasabel, I used your fork of |
I saw the TODO and added |
As far as I can see that's fine. What an impressive cleanup, BTW. Thanks a lot! |
Atm |
@philderbeast wrote:
If none of the files of a package uses |
I wonder why this wasn't failing before this pull request as
|
a0bbf78
to
2e0bb86
Compare
I've never previously bothered with |
I haven't heard of any tooling. |
I've bumped the lower bounds to match the either the ghc-8.4.4 release notes or |
I've also removed a couple of |
Excellent work! However, I think this refactoring should preserve the "impossibles" of the original code, i.e., crash when the original code crashed. |
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!
@philderbeast: ready for merge? |
@Mikolaj, I'll first setup the cabal CI to do a run through with |
- Match ghc-8.4.4 included package lower bounds - Add cabal gen-bounds bounds
Preserve the original behaviour
evaluate . rnf should blow up it words aren't as expected
c0ad47c
to
036165c
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.
Great maintenance work!
Yes please @Mikolaj. |
@Mikolaj The banner "pr: squash" is up but the individual commits were merged. Was this intentional? If yes, please change the banner to "pr: preserve commits". |
My fault, I haven't seen the banner. Will do better next time. :) |
Actually, since this wasn't intentional, let me preserve the documentation of the mistake. |
No problem. I guess we wait for |
Fixes #303. I bumped base to
>=4.11
, matchedghc-8.4.4
included packages' lower bounds, and fixed warnings includingcabal check
warnings except for the example.This is the change to
cabal.project
(or the contents ofcabal.project.local
if you prefer) I used for testing:Even though I much prefer
-XStandaloneKindSignatures
, we can't use that untilghc >= 8.10
.I cleaned up some unused
{-# LANGUAGE CPP #-}
pragmas but note that some of the packages set this extension indefault-extensions
orother-extensions
:I've not tested this with cabal yet.