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. |
|
@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
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.4included packages' lower bounds, and fixed warnings includingcabal checkwarnings except for the example.This is the change to
cabal.project(or the contents ofcabal.project.localif 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-extensionsorother-extensions:I've not tested this with cabal yet.