[commit: ghc] master: We need to import 'cast' on Windows (11314b9)

git at git.haskell.org git at git.haskell.org
Sat Mar 14 08:18:45 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/11314b936340a0980c27a01400b7dfec2ffdfa42/ghc

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

commit 11314b936340a0980c27a01400b7dfec2ffdfa42
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Sat Mar 14 09:16:44 2015 +0100

    We need to import 'cast' on Windows
    
    This fixes breakage introduced via
    47b5b5c2b2c92ba091313c36489588edadceaa9d
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
    
    Reviewed By: hvr
    
    Differential Revision: https://phabricator.haskell.org/D732


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

11314b936340a0980c27a01400b7dfec2ffdfa42
 libraries/base/GHC/Conc/Sync.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libraries/base/GHC/Conc/Sync.hs b/libraries/base/GHC/Conc/Sync.hs
index 1295982..48a3b2a 100644
--- a/libraries/base/GHC/Conc/Sync.hs
+++ b/libraries/base/GHC/Conc/Sync.hs
@@ -99,6 +99,8 @@ import Foreign.C
 
 #ifndef mingw32_HOST_OS
 import Data.Dynamic
+#else
+import Data.Typeable
 #endif
 import Data.Maybe
 



More information about the ghc-commits mailing list