[commit: ghc] wip/T9858-typeable-ben2: IntWord64: Add import of GHC.Types (cce0519)
git at git.haskell.org
git at git.haskell.org
Mon Sep 28 12:45:24 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T9858-typeable-ben2
Link : http://ghc.haskell.org/trac/ghc/changeset/cce05194164eb4068c8237eb227065ac773fc418/ghc
>---------------------------------------------------------------
commit cce05194164eb4068c8237eb227065ac773fc418
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Sep 22 22:49:08 2015 +0200
IntWord64: Add import of GHC.Types
>---------------------------------------------------------------
cce05194164eb4068c8237eb227065ac773fc418
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