[commit: ghc] ghc-8.0: HsExpr: Ensure Type is derived on ThModFinalizers (d2e14e6)
git at git.haskell.org
git at git.haskell.org
Wed Aug 31 23:24:00 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/d2e14e656e8010a9667ee85743b5aba88f28dce3/ghc
>---------------------------------------------------------------
commit d2e14e656e8010a9667ee85743b5aba88f28dce3
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Aug 31 15:26:16 2016 -0400
HsExpr: Ensure Type is derived on ThModFinalizers
This is necessary to bootstrap with GHC 7.8.
>---------------------------------------------------------------
d2e14e656e8010a9667ee85743b5aba88f28dce3
compiler/hsSyn/HsExpr.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/compiler/hsSyn/HsExpr.hs b/compiler/hsSyn/HsExpr.hs
index b9f7142..103f59a 100644
--- a/compiler/hsSyn/HsExpr.hs
+++ b/compiler/hsSyn/HsExpr.hs
@@ -1956,8 +1956,10 @@ isTypedSplice _ = False -- Quasi-quotes are untyped splices
--
#ifdef GHCI
newtype ThModFinalizers = ThModFinalizers [ForeignRef (TH.Q ())]
+ deriving (Typeable)
#else
data ThModFinalizers = ThModFinalizers
+ deriving (Typeable)
#endif
-- A Data instance which ignores the argument of 'ThModFinalizers'.
More information about the ghc-commits
mailing list