[commit: ghc] ghc-7.10: Avoid redundant-import warning (w/o CPP) (252953f)

git at git.haskell.org git at git.haskell.org
Tue Mar 24 09:53:03 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/252953f5a0eaa7fd31e8aa61fbb26143c1496810/ghc

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

commit 252953f5a0eaa7fd31e8aa61fbb26143c1496810
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Dec 27 23:43:20 2014 +0100

    Avoid redundant-import warning (w/o CPP)
    
    (cherry picked from commit c55fefc0f25ecd754db3f274cba3f972d603f117)


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

252953f5a0eaa7fd31e8aa61fbb26143c1496810
 utils/genprimopcode/ParserM.hs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/genprimopcode/ParserM.hs b/utils/genprimopcode/ParserM.hs
index 4dedfa3..190ec0e 100644
--- a/utils/genprimopcode/ParserM.hs
+++ b/utils/genprimopcode/ParserM.hs
@@ -16,7 +16,10 @@ module ParserM (
     -- Other
     happyError
  ) where
+
 import Control.Applicative
+import Prelude
+
 import Control.Monad (ap, liftM)
 import Data.Word (Word8)
 import Data.Char (ord)



More information about the ghc-commits mailing list