[commit: ghc] wip/prettyprinter: More warning cleanups (96eece6)
git at git.haskell.org
git at git.haskell.org
Wed Sep 13 21:09:13 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/prettyprinter
Link : http://ghc.haskell.org/trac/ghc/changeset/96eece620b6475ac68251dacbb651109405922eb/ghc
>---------------------------------------------------------------
commit 96eece620b6475ac68251dacbb651109405922eb
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Sep 13 08:39:25 2017 -0400
More warning cleanups
>---------------------------------------------------------------
96eece620b6475ac68251dacbb651109405922eb
compiler/utils/Outputable.hs | 1 -
compiler/utils/Pretty.hs | 6 ------
2 files changed, 7 deletions(-)
diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs
index 772558a..971a548 100644
--- a/compiler/utils/Outputable.hs
+++ b/compiler/utils/Outputable.hs
@@ -92,7 +92,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 a7969e6..583fb21 100644
--- a/compiler/utils/Pretty.hs
+++ b/compiler/utils/Pretty.hs
@@ -111,16 +111,10 @@ module Pretty (
) where
-import BufWrite
import FastString
-import Panic
import System.IO
import Prelude hiding (error)
---for a RULES
-import GHC.Base ( unpackCString# )
-import GHC.Ptr ( Ptr(..) )
-
import qualified Data.Text as T
import qualified Data.Text.Lazy as TL
import qualified Data.Text.Lazy.IO as TL
More information about the ghc-commits
mailing list