[commit: base] master: Fix build order when building with integer-simple (dc2b8f7)

Ian Lynagh igloo at earth.li
Sun May 19 19:31:37 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

https://github.com/ghc/packages-base/commit/dc2b8f7c584335aebfe7e5907aa83aa32b657c47

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

commit dc2b8f7c584335aebfe7e5907aa83aa32b657c47
Author: Ian Lynagh <ian at well-typed.com>
Date:   Sun May 19 16:35:40 2013 +0100

    Fix build order when building with integer-simple
    
    The problem hasn't shown up with integer-gmp, but I can't see
    why it couldn't happen in that case too.

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

 Unsafe/Coerce.hs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Unsafe/Coerce.hs b/Unsafe/Coerce.hs
index 66f64c8..caae4c6 100644
--- a/Unsafe/Coerce.hs
+++ b/Unsafe/Coerce.hs
@@ -33,6 +33,7 @@ module Unsafe.Coerce (unsafeCoerce) where
 
 
 #if defined(__GLASGOW_HASKELL__)
+import GHC.Integer () -- for build ordering
 import GHC.Prim (unsafeCoerce#)
 
 local_id :: a -> a





More information about the ghc-commits mailing list