[commit: ghc] wip/ttypeable: Fix T8132 (ca5e33d)
git at git.haskell.org
git at git.haskell.org
Fri Jul 8 14:31:47 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ttypeable
Link : http://ghc.haskell.org/trac/ghc/changeset/ca5e33d5f94bafd87c97a2ca9685879226bd2312/ghc
>---------------------------------------------------------------
commit ca5e33d5f94bafd87c97a2ca9685879226bd2312
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Mar 16 23:22:32 2016 +0100
Fix T8132
>---------------------------------------------------------------
ca5e33d5f94bafd87c97a2ca9685879226bd2312
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