yesod-core 1.4.35 → 1.4.35.1
raw patch · 3 files changed
+6/−2 lines, 3 filesdep ~template-haskell
Dependency ranges changed: template-haskell
Files
- ChangeLog.md +4/−0
- Yesod/Routes/TH/RenderRoute.hs +1/−1
- yesod-core.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.4.35.1++* TH fix for GHC 8.2+ ## 1.4.35 * Contexts can be included in generated TH instances. [1365](https://github.com/yesodweb/yesod/issues/1365)
Yesod/Routes/TH/RenderRoute.hs view
@@ -160,7 +160,7 @@ (cons, decs) <- mkRouteCons ress #if MIN_VERSION_template_haskell(2,12,0) did <- DataInstD [] ''Route [typ] Nothing cons <$> fmap (pure . DerivClause Nothing) (mapM conT (clazzes False))- let sds = fmap (\t -> StandaloneDerivD cxt $ ConT t `AppT` ( ConT ''Route `AppT` typ)) (clazzes True)+ let sds = fmap (\t -> StandaloneDerivD Nothing cxt $ ConT t `AppT` ( ConT ''Route `AppT` typ)) (clazzes True) #elif MIN_VERSION_template_haskell(2,11,0) did <- DataInstD [] ''Route [typ] Nothing cons <$> mapM conT (clazzes False) let sds = fmap (\t -> StandaloneDerivD cxt $ ConT t `AppT` ( ConT ''Route `AppT` typ)) (clazzes True)
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.4.35+version: 1.4.35.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>