Make CodeQ and TExpQ levity polymorphic
The patch is quite straightforward. The only tricky part is that `Language.Haskell.TH.Lib.Internal` now must be `Trustworthy` instead of `Safe` due to the `GHC.Exts` import (in order to import `TYPE`). Since `CodeQ` has yet to appear in any released version of `template-haskell`, I didn't bother mentioning the change to `CodeQ` in the `template-haskell` release notes. Fixes #18521.
parent
e30fed6c
Pipeline #22972 passed with warnings
Stage: lint
Stage: quick-build
Stage: build
Stage: full-build
Stage: cleanup
Stage: packaging
Stage: testing
Showing
- libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs 16 additions, 3 deletions...ries/template-haskell/Language/Haskell/TH/Lib/Internal.hs
- libraries/template-haskell/Language/Haskell/TH/Syntax.hs 2 additions, 0 deletionslibraries/template-haskell/Language/Haskell/TH/Syntax.hs
- libraries/template-haskell/changelog.md 2 additions, 0 deletionslibraries/template-haskell/changelog.md
- testsuite/tests/quotes/T18521.hs 15 additions, 0 deletionstestsuite/tests/quotes/T18521.hs
- testsuite/tests/quotes/all.T 1 addition, 0 deletionstestsuite/tests/quotes/all.T
Loading
Please register or sign in to comment