[commit: ghc] wip/T9858-typeable-ben2: IntWord64: Add import to GHC.Types (3cc8dd5)

git at git.haskell.org git at git.haskell.org
Sat Sep 26 21:50:06 UTC 2015


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

On branch  : wip/T9858-typeable-ben2
Link       : http://ghc.haskell.org/trac/ghc/changeset/3cc8dd5df429d7aecfffb66d7fa6e110eedb7a02/ghc

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

commit 3cc8dd5df429d7aecfffb66d7fa6e110eedb7a02
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Sep 22 22:49:08 2015 +0200

    IntWord64: Add import to GHC.Types


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

3cc8dd5df429d7aecfffb66d7fa6e110eedb7a02
 libraries/base/GHC/Stack/Types.hs   | 4 ++++
 libraries/ghc-prim/GHC/IntWord64.hs | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/libraries/base/GHC/Stack/Types.hs b/libraries/base/GHC/Stack/Types.hs
index fc9d6c2..5c37f64 100644
--- a/libraries/base/GHC/Stack/Types.hs
+++ b/libraries/base/GHC/Stack/Types.hs
@@ -23,6 +23,10 @@ module GHC.Stack.Types (
 
 import GHC.Types
 
+-- Make implicit dependency known to build system
+import GHC.Tuple ()
+import GHC.Integer ()
+
 ----------------------------------------------------------------------
 -- Explicit call-stacks built via ImplicitParams
 ----------------------------------------------------------------------
diff --git a/libraries/ghc-prim/GHC/IntWord64.hs b/libraries/ghc-prim/GHC/IntWord64.hs
index 52dc08e..35bbfd8 100644
--- a/libraries/ghc-prim/GHC/IntWord64.hs
+++ b/libraries/ghc-prim/GHC/IntWord64.hs
@@ -23,7 +23,10 @@ module GHC.IntWord64 (
 #endif
     ) where
 
+import GHC.Types () -- Make implicit dependency known to build system
+
 #if WORD_SIZE_IN_BITS < 64
+
 import GHC.Prim
 
 foreign import ccall unsafe "hs_eqWord64"    eqWord64#     :: Word64# -> Word64# -> Int#



More information about the ghc-commits mailing list