[commit: testsuite] master: Fix T8132 (c0e6045)

git at git.haskell.org git at git.haskell.org
Fri Sep 27 07:34:04 CEST 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c0e604539b90ca8a3a4fec508c878ed43d02f43f/testsuite

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

commit c0e604539b90ca8a3a4fec508c878ed43d02f43f
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Sep 27 00:00:17 2013 -0500

    Fix T8132
    
    A tiny bit of fallout from the TypeRep changes with a simple fix: we
    don't export typeRep# from Data.Typeable anymore, only
    Data.Typeable.Internal
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

c0e604539b90ca8a3a4fec508c878ed43d02f43f
 tests/polykinds/T8132.hs |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/polykinds/T8132.hs b/tests/polykinds/T8132.hs
index 3e58478..337e288 100644
--- a/tests/polykinds/T8132.hs
+++ b/tests/polykinds/T8132.hs
@@ -1,6 +1,6 @@
-
-import Data.Typeable
+{-# LANGUAGE MagicHash #-}
+import Data.Typeable.Internal
 
 data K = K
 
-instance Typeable K where typeRep _ = undefined
+instance Typeable K where typeRep# _ = undefined




More information about the ghc-commits mailing list