[commit: ghc] wip/hasfield: Remove unnecessary SOURCE imports (4078612)

git at git.haskell.org git at git.haskell.org
Sun Oct 9 13:32:27 UTC 2016


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

On branch  : wip/hasfield
Link       : http://ghc.haskell.org/trac/ghc/changeset/407861293edb49b92c39ae691b3ecf0e28a1abfc/ghc

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

commit 407861293edb49b92c39ae691b3ecf0e28a1abfc
Author: Adam Gundry <adam at well-typed.com>
Date:   Sun Oct 9 11:23:45 2016 +0100

    Remove unnecessary SOURCE imports


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

407861293edb49b92c39ae691b3ecf0e28a1abfc
 compiler/deSugar/DsBinds.hs           | 2 +-
 compiler/hsSyn/PlaceHolder.hs         | 2 +-
 compiler/typecheck/TcEvidence.hs      | 1 -
 compiler/typecheck/TcEvidence.hs-boot | 3 ---
 4 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/compiler/deSugar/DsBinds.hs b/compiler/deSugar/DsBinds.hs
index 8dd1b51..a9de886 100644
--- a/compiler/deSugar/DsBinds.hs
+++ b/compiler/deSugar/DsBinds.hs
@@ -18,7 +18,7 @@ module DsBinds ( dsTopLHsBinds, dsLHsBinds, decomposeRuleLhs, dsSpec,
 
 #include "HsVersions.h"
 
-import {-# SOURCE #-}   DsExpr( dsExpr, dsLExpr )
+import {-# SOURCE #-}   DsExpr( dsLExpr )
 import {-# SOURCE #-}   Match( matchWrapper )
 
 import DsMonad
diff --git a/compiler/hsSyn/PlaceHolder.hs b/compiler/hsSyn/PlaceHolder.hs
index 6ffbdb3..2e195df 100644
--- a/compiler/hsSyn/PlaceHolder.hs
+++ b/compiler/hsSyn/PlaceHolder.hs
@@ -16,7 +16,7 @@ import Coercion
 import ConLike (ConLike)
 import FieldLabel
 import SrcLoc (Located)
-import {-# SOURCE #-} TcEvidence ( HsWrapper )
+import TcEvidence ( HsWrapper )
 
 import Data.Data hiding ( Fixity )
 import BasicTypes       (Fixity)
diff --git a/compiler/typecheck/TcEvidence.hs b/compiler/typecheck/TcEvidence.hs
index 0dd73ee..c06d1c3 100644
--- a/compiler/typecheck/TcEvidence.hs
+++ b/compiler/typecheck/TcEvidence.hs
@@ -53,7 +53,6 @@ import VarEnv
 import VarSet
 import Name
 import Pair
-import {-# SOURCE #-} HsExpr ( HsExpr )
 
 import Util
 import Bag
diff --git a/compiler/typecheck/TcEvidence.hs-boot b/compiler/typecheck/TcEvidence.hs-boot
deleted file mode 100644
index 48c3cbc..0000000
--- a/compiler/typecheck/TcEvidence.hs-boot
+++ /dev/null
@@ -1,3 +0,0 @@
-module TcEvidence where
-
-data HsWrapper



More information about the ghc-commits mailing list