[commit: packages/process] master, wip/issue15: Tighten Safe Haskell bounds, fixes new warning in GHC 7.10. (ed489db)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:37:03 UTC 2015


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

On branches: master,wip/issue15
Link       : http://ghc.haskell.org/trac/ghc/changeset/ed489dbf461a0fc10c83a7ca75460f595ce7b646/process

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

commit ed489dbf461a0fc10c83a7ca75460f595ce7b646
Author: David Terei <code at davidterei.com>
Date:   Wed Nov 12 18:15:28 2014 -0800

    Tighten Safe Haskell bounds, fixes new warning in GHC 7.10.


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

ed489dbf461a0fc10c83a7ca75460f595ce7b646
 System/Cmd.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/System/Cmd.hs b/System/Cmd.hs
index a16a685..4f1de4d 100644
--- a/System/Cmd.hs
+++ b/System/Cmd.hs
@@ -1,5 +1,7 @@
 {-# LANGUAGE CPP #-}
-#ifdef __GLASGOW_HASKELL__
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Trustworthy #-}
 #endif
 



More information about the ghc-commits mailing list