[commit: ghc] wip/ttypeable: Fix T8132 (8c3cc63)
git at git.haskell.org
git at git.haskell.org
Sun Jan 29 20:19:03 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ttypeable
Link : http://ghc.haskell.org/trac/ghc/changeset/8c3cc63af47480e36b0ba67c5c329664588e543a/ghc
>---------------------------------------------------------------
commit 8c3cc63af47480e36b0ba67c5c329664588e543a
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Mar 16 23:22:32 2016 +0100
Fix T8132
>---------------------------------------------------------------
8c3cc63af47480e36b0ba67c5c329664588e543a
testsuite/tests/polykinds/T8132.hs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/testsuite/tests/polykinds/T8132.hs b/testsuite/tests/polykinds/T8132.hs
index 337e288..cdbfd7f 100644
--- a/testsuite/tests/polykinds/T8132.hs
+++ b/testsuite/tests/polykinds/T8132.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE MagicHash #-}
-import Data.Typeable.Internal
+import Data.Typeable
data K = K
-instance Typeable K where typeRep# _ = undefined
+-- This used to have a RHS but now we hide typeRep#
+instance Typeable K -- where typeRep# _ = undefined
More information about the ghc-commits
mailing list