Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,249
    • Issues 5,249
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 581
    • Merge requests 581
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #22767
Closed
Open
Issue created Jan 15, 2023 by Ryan Scott@RyanGlScottMaintainer

GHC 9.6.1-alpha1 doesn't bump template-haskell version

GHC 9.6.1-alpha1 bundles template-haskell-2.19.0.0:

$ ghc-pkg-9.6.0.20230111 list | grep template-haskell
    template-haskell-2.19.0.0

But this is the exact same version that GHC 9.4.4 bundles!

$ ghc-pkg-9.4.4 list | grep template-haskell
    template-haskell-2.19.0.0

Despite the version numbers being the same, there have been breaking changes to the template-haskell library in GHC 9.6.1-alpha1. See this section of the template-haskell changelog. Unfortunately, due to the version numbers being the same, it is not possible to guard against these changes with MIN_VERSION_template_haskell(...) CPP. (You have to instead resort to __GLASGOW_HASKELL__ hacks.)

Please consider bumping the template-haskell version to 2.20.0.0 to rectify this. It would also be nice to include a "Bump template-haskell" task in the new release tracking template (such as the one found in #22562, which already has a similar "Base base" task) so that this is not forgotten in the future.

Edited Jan 15, 2023 by Ryan Scott
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking