[commit: haddock] ghc-head, ghc-head1, headdock-library-1.4.5, ie_avails, master, pr/cabal-desc, v2.18, wip/T14529, wip/revert-ttg-2017-11-20, wip/ttg-2017-10-13, wip/ttg-2017-10-31, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13, wip/ttg6-unrevert-2017-11-22: Remove redudant import warning (#651) (42e49d3)

git at git.haskell.org git at git.haskell.org
Tue Nov 28 11:52:57 UTC 2017


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

On branches: ghc-head,ghc-head1,headdock-library-1.4.5,ie_avails,master,pr/cabal-desc,v2.18,wip/T14529,wip/revert-ttg-2017-11-20,wip/ttg-2017-10-13,wip/ttg-2017-10-31,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13,wip/ttg6-unrevert-2017-11-22
Link       : http://git.haskell.org/haddock.git/commitdiff/42e49d322d5ef3b6e13740642844b2ba57e96b95

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

commit 42e49d322d5ef3b6e13740642844b2ba57e96b95
Author: Alex Biehl <alexbiehl at gmail.com>
Date:   Fri Jul 7 19:17:15 2017 +0200

    Remove redudant import warning (#651)


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

42e49d322d5ef3b6e13740642844b2ba57e96b95
 haddock-api/src/Haddock/Interface.hs | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs
index cdc3064..f2d099b 100644
--- a/haddock-api/src/Haddock/Interface.hs
+++ b/haddock-api/src/Haddock/Interface.hs
@@ -49,20 +49,21 @@ import qualified Data.Set as Set
 import Distribution.Verbosity
 import System.Directory
 import System.FilePath
-import System.IO
 import Text.Printf
 
 import Digraph
 import DynFlags hiding (verbosity)
 import Exception
 import GHC hiding (verbosity)
+import HscTypes
+import FastString (unpackFS)
+import MonadUtils (liftIO)
+
 #if defined(mingw32_HOST_OS)
+import System.IO
 import GHC.IO.Encoding.CodePage (mkLocaleEncoding)
 import GHC.IO.Encoding.Failure (CodingFailureMode(TransliterateCodingFailure))
 #endif
-import HscTypes
-import FastString (unpackFS)
-import MonadUtils (liftIO)
 
 -- | Create 'Interface's and a link environment by typechecking the list of
 -- modules using the GHC API and processing the resulting syntax trees.



More information about the ghc-commits mailing list