-
Notifications
You must be signed in to change notification settings - Fork 47
Support ghc-9.14 #560
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
base: master
Are you sure you want to change the base?
Support ghc-9.14 #560
Conversation
9e02039 to
8675a08
Compare
|
Have no idea what the |
lehins
left a comment
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.
Same comment about CPP as in IntersectMBO/cardano-ledger#5292
8cd204c to
7345cf3
Compare
Good suggestion. Looking into it now. |
056d59a to
87eecb9
Compare
|
The I added: and which is just dumb. |
90a86fb to
83f99f4
Compare
Unfortunately cabal formatting tool isn't capable of handling comments very well, limitation of the tool itself that we can't really do anything about. Before merging the PR if some of those allow-newers are still needed, instead of bunch of links to other repos as comments it is better to create an actual ticket on this reposiory and that issue would link to all of those other issues on other repos. Until it is ready to be merged cabal formatting CI check isn't that important anyways |
Ghc-9.14 gives redundant constraint warnings on constraints that
were NECESSARY with earlier versions of GHC.
Neatest solution is ghc implementation predicate in the cabal
files like that adds the redundant constraint warning for
compilers before 9.14:
if impl (ghc < 9.14)
ghc-options:
-Wredundant-constraints
I tried adding a redundant constraint to a type class instance
and compiling with `ghc-9.12` and a valid redundant constraint
warning was issued.
|
Created issue #613 to track Have removed the commits from the |
Description
Ghc-9.14 support. Currently using ghc-9.14.0.1.
Checklist
CHANGELOG.mdfor the affected packages.New section is never added with the code changes. (See RELEASING.md)
.cabalandCHANGELOG.mdfiles according to theversioning process.
.cabalfiles for all affected packages are updated.If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)