diff --git a/CHANGELOG.md b/CHANGELOG.md index 929865a..186ac26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`. diff --git a/src/Language/Haskell/TH/Lift.hs b/src/Language/Haskell/TH/Lift.hs index ac60988..091ad95 100644 --- a/src/Language/Haskell/TH/Lift.hs +++ b/src/Language/Haskell/TH/Lift.hs @@ -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) diff --git a/th-lift.cabal b/th-lift.cabal index b13a18f..6c3c915 100644 --- a/th-lift.cabal +++ b/th-lift.cabal @@ -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