[commit: packages/hoopl] master: Apply Safe Haskell flag for newer GHCs only. (b4ed37c)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:37:40 UTC 2017


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

On branch  : master
Link       : http://git.haskell.org/packages/hoopl.git/commitdiff/b4ed37c2af594f3e4de393a146a5b9a8210395af

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

commit b4ed37c2af594f3e4de393a146a5b9a8210395af
Author: brk <ben at eschew.org>
Date:   Mon Dec 26 09:16:52 2016 -0500

    Apply Safe Haskell flag for newer GHCs only.
    
    Apparently with GHC 7.2.2 and Cabal 1.16, the Data.Set module is not marked as being Safe.


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

b4ed37c2af594f3e4de393a146a5b9a8210395af
 src/Compiler/Hoopl/Passes/Dominator.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Compiler/Hoopl/Passes/Dominator.hs b/src/Compiler/Hoopl/Passes/Dominator.hs
index 1926cb1..7cd8b7e 100644
--- a/src/Compiler/Hoopl/Passes/Dominator.hs
+++ b/src/Compiler/Hoopl/Passes/Dominator.hs
@@ -1,6 +1,6 @@
 {-# LANGUAGE CPP, GADTs #-}
 {-# OPTIONS_GHC -Wall -fno-warn-name-shadowing #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 723
 {-# LANGUAGE Safe #-}
 #endif
 



More information about the ghc-commits mailing list