[commit: ghc] wip/prettyprinter: More warning cleanups (8abc89f)

git at git.haskell.org git at git.haskell.org
Thu Jan 18 18:08:34 UTC 2018


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

On branch  : wip/prettyprinter
Link       : http://ghc.haskell.org/trac/ghc/changeset/8abc89f8a62e6aa0293ec4b87af353bf5c21de4d/ghc

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

commit 8abc89f8a62e6aa0293ec4b87af353bf5c21de4d
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Sep 13 08:39:25 2017 -0400

    More warning cleanups


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

8abc89f8a62e6aa0293ec4b87af353bf5c21de4d
 compiler/utils/Outputable.hs | 1 -
 compiler/utils/Pretty.hs     | 7 +------
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs
index d6d221f..e89a4ce 100644
--- a/compiler/utils/Outputable.hs
+++ b/compiler/utils/Outputable.hs
@@ -95,7 +95,6 @@ import {-# SOURCE #-}   DynFlags( DynFlags, hasPprDebug, hasNoDebugOutput,
 import {-# SOURCE #-}   Module( UnitId, Module, ModuleName, moduleName )
 import {-# SOURCE #-}   OccName( OccName )
 
-import BufWrite (BufHandle)
 import FastString
 import qualified Pretty
 import Util
diff --git a/compiler/utils/Pretty.hs b/compiler/utils/Pretty.hs
index 4d6796d..87c9fc9 100644
--- a/compiler/utils/Pretty.hs
+++ b/compiler/utils/Pretty.hs
@@ -113,14 +113,9 @@ module Pretty  (
 
 import GhcPrelude hiding (error)
 
-import BufWrite
 import FastString
-import Panic
 import System.IO
-
---for a RULES
-import GHC.Base ( unpackCString# )
-import GHC.Ptr  ( Ptr(..) )
+import Prelude hiding (error)
 
 import qualified Data.Text as T
 import qualified Data.Text.Lazy as TL



More information about the ghc-commits mailing list