Skip to content
Snippets Groups Projects
Commit 02fce143 authored by Teo Camarasu's avatar Teo Camarasu
Browse files

Add patch for esqueleto

parent 7700ff5c
No related branches found
No related tags found
No related merge requests found
diff --git a/src/Database/Esqueleto/Record.hs b/src/Database/Esqueleto/Record.hs
index 27905ac..a164cdd 100644
--- a/src/Database/Esqueleto/Record.hs
+++ b/src/Database/Esqueleto/Record.hs
@@ -189,7 +189,9 @@ data RecordInfo = RecordInfo
-- cause problems, but it's easy to pass around so might as well.
constraints :: Cxt
, -- | The original record's type-variable-binders.
-#if MIN_VERSION_template_haskell(2,17,0)
+#if __GLASGOW_HASKELL__ >= 907
+ typeVarBinders :: [TyVarBndr BndrVis]
+#elif MIN_VERSION_template_haskell(2,17,0)
typeVarBinders :: [TyVarBndr ()]
#else
typeVarBinders :: [TyVarBndr]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment