th-test-utils 1.0.1 → 1.0.2
raw patch · 3 files changed
+13/−5 lines, 3 filesdep ~template-haskell
Dependency ranges changed: template-haskell
Files
- CHANGELOG.md +4/−0
- src/Language/Haskell/TH/TestUtils.hs +4/−0
- th-test-utils.cabal +5/−5
CHANGELOG.md view
@@ -1,5 +1,9 @@ ## Upcoming +## 1.0.2++* Support GHC 8.10+ ## 1.0.1 * Support GHC 8.8
src/Language/Haskell/TH/TestUtils.hs view
@@ -115,6 +115,10 @@ qAddForeignFile lang s = liftQ $ qAddForeignFile lang s #endif +#if MIN_VERSION_template_haskell(2,16,0)+ qReifyType n = liftQ $ qReifyType n+#endif+ -- | Run the given Template Haskell computation, returning either an error message or the final -- result. tryQ' :: Q a -> Q (Either String a)
th-test-utils.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 9cb7cbf13787181d5902c335acfba34e366a5b6275a940acffcc27e49e5f171e+-- hash: efd2801696db16775e89093ddef200e5d3b5d09c77563a404db58f82f6a8841e name: th-test-utils-version: 1.0.1+version: 1.0.2 synopsis: Utility functions for testing Template Haskell code description: Utility functions for testing Template Haskell code, including functions for testing failures in the Q monad.@@ -37,7 +37,7 @@ ghc-options: -Wall build-depends: base >=4.9 && <5- , template-haskell >=2.11.1.0 && <2.16+ , template-haskell >=2.11.1.0 && <2.17 , transformers >=0.5.2 && <0.5.7 if impl(ghc >= 8.0) ghc-options: -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wnoncanonical-monad-instances@@ -56,9 +56,9 @@ ghc-options: -Wall build-depends: base >=4.9 && <5- , tasty >=0.11.3 && <1.3+ , tasty >=0.11.3 && <1.4 , tasty-hunit >=0.9.2 && <0.10.1- , template-haskell >=2.11.1.0 && <2.16+ , template-haskell >=2.11.1.0 && <2.17 , th-test-utils , transformers >=0.5.2 && <0.5.7 if impl(ghc >= 8.0)