Skip to content

Commit

Permalink
Support building with template-haskell-2.23.* (GHC 9.12)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Dec 5, 2024
1 parent 98acc84 commit 4edc7a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## [next] - ????.??.??

* Support building with `template-haskell-2.23.0`.

## [0.8.5] - 2024.10.22

* Support building with `template-haskell-2.22.1`.
Expand Down
2 changes: 1 addition & 1 deletion src/Language/Haskell/TH/Lift.hs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ typeDataError dataName = fail
. showString "‘, which is a ‘type data‘ declaration"
$ ""

#if !MIN_VERSION_template_haskell(2,22,1)
#if !MIN_VERSION_template_haskell(2,23,0)
instance Lift Name where
lift (Name occName nameFlavour) = [| Name occName nameFlavour |]
# if MIN_VERSION_template_haskell(2,16,0)
Expand Down
2 changes: 1 addition & 1 deletion th-lift.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Library
Build-Depends: base >= 4.9 && < 5,
ghc-prim,
th-abstraction >= 0.5 && < 0.8,
template-haskell >= 2.11 && < 2.23
template-haskell >= 2.11 && < 2.24
ghc-options: -Wall

Test-Suite test
Expand Down

0 comments on commit 4edc7a4

Please sign in to comment.