[commit: packages/hpc] master: Mark Mix as Safe, not Trustworthy. (60e7bbf)

git at git.haskell.org git at git.haskell.org
Thu Nov 13 01:40:16 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/hpc.git/commitdiff/60e7bbfeea8ba54688b8f432f0f337b275f06c58

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

commit 60e7bbfeea8ba54688b8f432f0f337b275f06c58
Author: David Terei <code at davidterei.com>
Date:   Wed Nov 12 17:40:23 2014 -0800

    Mark Mix as Safe, not Trustworthy.


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

60e7bbfeea8ba54688b8f432f0f337b275f06c58
 Trace/Hpc/Mix.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Trace/Hpc/Mix.hs b/Trace/Hpc/Mix.hs
index 83e8c02..28050ad 100644
--- a/Trace/Hpc/Mix.hs
+++ b/Trace/Hpc/Mix.hs
@@ -1,5 +1,7 @@
 {-# LANGUAGE CPP #-}
-#ifdef __GLASGOW_HASKELL__
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
 ---------------------------------------------------------------



More information about the ghc-commits mailing list