diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-08 14:54:14 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-08 14:55:26 +0100 |
commit | 2106d8641a4f26fa934e092ba88b535cdad5a6fe (patch) | |
tree | 623751784bf1c9e00e67dd911cc7f91975a3c914 /compiler/main/DynFlags.hs | |
parent | 2cfa5db47dc16caf7cb7be5aed2fbe843cd784a8 (diff) | |
download | haskell-2106d8641a4f26fa934e092ba88b535cdad5a6fe.tar.gz |
Fix typo sneaked in with fd3b845c01aa26b6e5
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r-- | compiler/main/DynFlags.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index bceb51f7cd..7818c6b3b3 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 |