[commit: ghc] wip/ttypeable: Fix T8132 (54eb46f)

git at git.haskell.org git at git.haskell.org
Mon Jun 6 11:13:01 UTC 2016


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

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/54eb46f12339fe158c0d347c076cb180a5eaf5cc/ghc

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

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

    Fix T8132


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

54eb46f12339fe158c0d347c076cb180a5eaf5cc
 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