[commit: ghc] master: Fix typo sneaked in with fd3b845c01aa26b6e5 (2106d86)

git at git.haskell.org git at git.haskell.org
Tue Dec 8 13:55:36 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/2106d8641a4f26fa934e092ba88b535cdad5a6fe/ghc

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

commit 2106d8641a4f26fa934e092ba88b535cdad5a6fe
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Dec 8 14:54:14 2015 +0100

    Fix typo sneaked in with fd3b845c01aa26b6e5


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

2106d8641a4f26fa934e092ba88b535cdad5a6fe
 compiler/main/DynFlags.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index bceb51f..7818c6b 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -180,7 +180,7 @@ import Control.Monad
 import Control.Monad.Trans.Class
 import Control.Monad.Trans.Writer
 import Control.Monad.Trans.Reader
-#if MIN_VERSION_transformers(4,0,0)
+#if MIN_VERSION_transformers(0,4,0)
 import Control.Monad.Trans.Except
 #endif
 import Control.Exception (throwIO)
@@ -938,7 +938,7 @@ instance (Monad m, HasDynFlags m) => HasDynFlags (ReaderT a m) where
 instance (Monad m, HasDynFlags m) => HasDynFlags (MaybeT m) where
     getDynFlags = lift getDynFlags
 
-#if MIN_VERSION_transformers(4,0,0)
+#if MIN_VERSION_transformers(0,4,0)
 instance (Monad m, HasDynFlags m) => HasDynFlags (ExceptT e m) where
     getDynFlags = lift getDynFlags
 #endif



More information about the ghc-commits mailing list