[commit: ghc] wip/ttypeable: Fix T8132 (5f7f46f)

git at git.haskell.org git at git.haskell.org
Sat Oct 1 21:34:49 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/5f7f46f9937f1dadcf5e999d8dc4e95d69d1617f/ghc

>---------------------------------------------------------------

commit 5f7f46f9937f1dadcf5e999d8dc4e95d69d1617f
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Mar 16 23:22:32 2016 +0100

    Fix T8132


>---------------------------------------------------------------

5f7f46f9937f1dadcf5e999d8dc4e95d69d1617f
 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