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

git at git.haskell.org git at git.haskell.org
Wed Sep 23 20:40:49 UTC 2015


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

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

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

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

    IntWord64: Add import to GHC.Types


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

d9b24f606fd00c5f5103a5e1f3ad8064e4c9674a
 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