[commit: packages/old-locale] master: Guard `{-# LANGUAGE Safe #-}` by `base>=4.4.1` (efbfa7a)

git at git.haskell.org git at git.haskell.org
Thu Oct 24 10:15:49 UTC 2013


Repository : ssh://git@git.haskell.org/old-locale

On branch  : master
Link       : http://git.haskell.org/packages/old-locale.git/commitdiff/efbfa7a1e9f6ef2401de920a91e6691420be5339

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

commit efbfa7a1e9f6ef2401de920a91e6691420be5339
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Oct 24 11:49:49 2013 +0200

    Guard `{-# LANGUAGE Safe #-}` by `base>=4.4.1`
    
    Modules in `base-4.4.0.0` weren't "safe" to import yet.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

efbfa7a1e9f6ef2401de920a91e6691420be5339
 System/Locale.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/System/Locale.hs b/System/Locale.hs
index fd16939..ef95a0f 100644
--- a/System/Locale.hs
+++ b/System/Locale.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 701 && MIN_VERSION_base(4,4,1)
 {-# LANGUAGE Safe #-}
 #endif
 -----------------------------------------------------------------------------



More information about the ghc-commits mailing list