Skip to content

Commit

Permalink
Allow morpheus-graphql-code-gen-utils to build with GHC 9.8 (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocharles authored Apr 8, 2024
1 parent c5fe660 commit 2655203
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ typeInstanceDec typeFamily arg res = TySynInstD typeFamily (TySynEqn [arg] res)
#endif

{- ORMOLU_DISABLE -}
#if MIN_VERSION_template_haskell(2,17,0)
#if MIN_VERSION_template_haskell(2,21,0)
toTypeVars :: [Name] -> [TyVarBndr BndrVis]
toTypeVars = map (flip PlainTV BndrReq)
#elif MIN_VERSION_template_haskell(2,17,0)
toTypeVars :: [Name] -> [TyVarBndr ()]
toTypeVars = map (flip PlainTV ())
#else
Expand Down

0 comments on commit 2655203

Please sign in to comment.