Skip to content

Commit

Permalink
fix typing error for GHC 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-ba committed May 16, 2016
1 parent c410c52 commit d13a6be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Data/Comp/Derive/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ reportError :: String -> Q ()
reportError = report True
#endif

#if __GLASGOW_HASKELL__ < 800
data DataInfo = DataInfo Cxt Name [TyVarBndr] [Con] [Name]

#else
data DataInfo = DataInfo Cxt Name [TyVarBndr] [Con] Cxt
#endif

{-|
This is the @Q@-lifted version of 'abstractNewtype.
Expand Down

0 comments on commit d13a6be

Please sign in to comment.