[commit: ghc] master: Workaround 452d6aa95b7 breaking TrustworthySafe03 (1854825)

git at git.haskell.org git at git.haskell.org
Sat Nov 15 10:19:47 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/185482524d4fa5954243476de1452219fb077228/ghc

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

commit 185482524d4fa5954243476de1452219fb077228
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Nov 15 11:18:12 2014 +0100

    Workaround 452d6aa95b7 breaking TrustworthySafe03
    
    This is only a temporary kludge until the issue workarounded by 452d6aa95b7
    gets properly fixed


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

185482524d4fa5954243476de1452219fb077228
 testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs
index 12be9b1..ad63e09 100644
--- a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs
+++ b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.hs
@@ -1,5 +1,6 @@
 {-# LANGUAGE Trustworthy #-}
 {-# OPTIONS_GHC -Wall #-}
+{-# OPTIONS_GHC -fwarn-trustworthy-safe #-} -- temp broken by 452d6aa95
 
 -- | This module is marked trustworthy but should be inferable as -XSafe.
 -- Warning enabled through `-W`.



More information about the ghc-commits mailing list