[commit: ghc] wip/sgraf-unused-imports: Remove unused import in ghc/Main.hs (6b921a8)

git at git.haskell.org git at git.haskell.org
Thu Jan 31 04:24:51 UTC 2019


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

On branch  : wip/sgraf-unused-imports
Link       : http://ghc.haskell.org/trac/ghc/changeset/6b921a89728a2479d068f40384fd5d1717107642/ghc

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

commit 6b921a89728a2479d068f40384fd5d1717107642
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date:   Wed Jan 30 14:29:54 2019 +0100

    Remove unused import in ghc/Main.hs


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

6b921a89728a2479d068f40384fd5d1717107642
 ghc/Main.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ghc/Main.hs b/ghc/Main.hs
index 456ff90..2202f71 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -31,7 +31,7 @@ import GHCi.UI          ( interactiveUI, ghciWelcomeMsg, defaultGhciSettings )
 
 -- Frontend plugins
 #if defined(GHCI)
-import DynamicLoading   ( loadFrontendPlugin )
+import DynamicLoading   ( loadFrontendPlugin, initializePlugins  )
 import Plugins
 #else
 import DynamicLoading   ( pluginError )
@@ -56,7 +56,6 @@ import Util
 import Panic
 import UniqSupply
 import MonadUtils       ( liftIO )
-import DynamicLoading   ( initializePlugins )
 
 -- Imports for --abi-hash
 import LoadIface           ( loadUserInterface )



More information about the ghc-commits mailing list