Add ghc-9.14 language extensions#11636
Conversation
|
I'm inclined to say yes, since it's arguably a bug fix for the cabal version intended to support 9.14. Also, this is a step in the release documentation. What went wrong, fellow cabalers? |
| md5CheckGenericPackageDescription :: Proxy GenericPackageDescription -> Assertion | ||
| md5CheckGenericPackageDescription proxy = md5Check proxy | ||
| 0xc039c6741dead5203ad2b33bd3bf4dc8 | ||
| 0xd355021433c2000dbf333e4efd4a800d |
There was a problem hiding this comment.
As a side note, are these tests useful for anything? I only see them being a constant nuisance, which people automatically rebase to reflect changes to GenericPackageDescription.
There was a problem hiding this comment.
These tests were added in #6255.
The commit, ae33fcf, has this message:
It defines
Structuredtype class, which we use to prepend a hash to cachedBinaryblobs. Thus we can catch early, if format is changed, avoiding corrupt cache making cabal behave weirdly.Plenty types got Typeable instances, as it's a superclass of Structured
This commit also introduces new compat modules:
- Distribution.Compat.Typeable with typeRep
- Distribution.Client.Compat.Orphans, to collect at least some orphans into central place.
Absolutely. |
84cd4c3 to
f63c9ff
Compare
Fixes #11635. I made similar changes to #10339. The test is the updated md5 check.
Important
Will this need a backport?
significance: significantin the changelog file.