[commit: ghc] master: Fix redundant imports of Class (966aa78)
git at git.haskell.org
git at git.haskell.org
Tue Aug 21 22:57:15 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/966aa7818222a8637b56ca32b3892901de1bf5d4/ghc
>---------------------------------------------------------------
commit 966aa7818222a8637b56ca32b3892901de1bf5d4
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue Aug 21 17:18:14 2018 -0400
Fix redundant imports of Class
>---------------------------------------------------------------
966aa7818222a8637b56ca32b3892901de1bf5d4
compiler/deSugar/DsMeta.hs | 1 -
compiler/hsSyn/Convert.hs | 1 -
compiler/rename/RnSource.hs | 1 -
3 files changed, 3 deletions(-)
diff --git a/compiler/deSugar/DsMeta.hs b/compiler/deSugar/DsMeta.hs
index 085cfc5..785eb84 100644
--- a/compiler/deSugar/DsMeta.hs
+++ b/compiler/deSugar/DsMeta.hs
@@ -30,7 +30,6 @@ import DsMonad
import qualified Language.Haskell.TH as TH
import HsSyn
-import Class
import PrelNames
-- To avoid clashes with DsMeta.varName we must make a local alias for
-- OccName.varName we do this by removing varName from the import of
diff --git a/compiler/hsSyn/Convert.hs b/compiler/hsSyn/Convert.hs
index 66a2681..24b0b20 100644
--- a/compiler/hsSyn/Convert.hs
+++ b/compiler/hsSyn/Convert.hs
@@ -17,7 +17,6 @@ module Convert( convertToHsExpr, convertToPat, convertToHsDecls,
import GhcPrelude
import HsSyn as Hs
-import qualified Class
import PrelNames
import RdrName
import qualified Name
diff --git a/compiler/rename/RnSource.hs b/compiler/rename/RnSource.hs
index 987ed17..00fc335 100644
--- a/compiler/rename/RnSource.hs
+++ b/compiler/rename/RnSource.hs
@@ -38,7 +38,6 @@ import TcRnMonad
import ForeignCall ( CCallTarget(..) )
import Module
import HscTypes ( Warnings(..), plusWarns )
-import Class ( FunDep )
import PrelNames ( applicativeClassName, pureAName, thenAName
, monadClassName, returnMName, thenMName
, monadFailClassName, failMName, failMName_preMFP
More information about the ghc-commits
mailing list