summaryrefslogtreecommitdiff
path: root/compiler/rename
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rename')
-rw-r--r--compiler/rename/RnBinds.hs2
-rw-r--r--compiler/rename/RnEnv.hs2
-rw-r--r--compiler/rename/RnExpr.hs2
-rw-r--r--compiler/rename/RnFixity.hs2
-rw-r--r--compiler/rename/RnHsDoc.hs2
-rw-r--r--compiler/rename/RnNames.hs2
-rw-r--r--compiler/rename/RnPat.hs2
-rw-r--r--compiler/rename/RnSource.hs2
-rw-r--r--compiler/rename/RnSplice.hs2
-rw-r--r--compiler/rename/RnSplice.hs-boot1
-rw-r--r--compiler/rename/RnTypes.hs2
-rw-r--r--compiler/rename/RnUnbound.hs2
-rw-r--r--compiler/rename/RnUtils.hs2
13 files changed, 25 insertions, 0 deletions
diff --git a/compiler/rename/RnBinds.hs b/compiler/rename/RnBinds.hs
index b956a5adda..f43715eaf4 100644
--- a/compiler/rename/RnBinds.hs
+++ b/compiler/rename/RnBinds.hs
@@ -26,6 +26,8 @@ module RnBinds (
HsSigCtxt(..)
) where
+import GhcPrelude
+
import {-# SOURCE #-} RnExpr( rnLExpr, rnStmts )
import HsSyn
diff --git a/compiler/rename/RnEnv.hs b/compiler/rename/RnEnv.hs
index d5013b2a2c..7b5d18e0eb 100644
--- a/compiler/rename/RnEnv.hs
+++ b/compiler/rename/RnEnv.hs
@@ -45,6 +45,8 @@ module RnEnv (
#include "HsVersions.h"
+import GhcPrelude
+
import LoadIface ( loadInterfaceForName, loadSrcInterface_maybe )
import IfaceEnv
import HsSyn
diff --git a/compiler/rename/RnExpr.hs b/compiler/rename/RnExpr.hs
index 99e3f7068a..c0d9898e61 100644
--- a/compiler/rename/RnExpr.hs
+++ b/compiler/rename/RnExpr.hs
@@ -21,6 +21,8 @@ module RnExpr (
#include "HsVersions.h"
+import GhcPrelude
+
import RnBinds ( rnLocalBindsAndThen, rnLocalValBindsLHS, rnLocalValBindsRHS,
rnMatchGroup, rnGRHS, makeMiniFixityEnv)
import HsSyn
diff --git a/compiler/rename/RnFixity.hs b/compiler/rename/RnFixity.hs
index 0bd08574a0..b1305f55f3 100644
--- a/compiler/rename/RnFixity.hs
+++ b/compiler/rename/RnFixity.hs
@@ -9,6 +9,8 @@ module RnFixity ( MiniFixityEnv,
lookupFixityRn, lookupFixityRn_help,
lookupFieldFixityRn, lookupTyFixityRn ) where
+import GhcPrelude
+
import LoadIface
import HsSyn
import RdrName
diff --git a/compiler/rename/RnHsDoc.hs b/compiler/rename/RnHsDoc.hs
index 9e53f49320..ac0731d50a 100644
--- a/compiler/rename/RnHsDoc.hs
+++ b/compiler/rename/RnHsDoc.hs
@@ -1,6 +1,8 @@
module RnHsDoc ( rnHsDoc, rnLHsDoc, rnMbLHsDoc ) where
+import GhcPrelude
+
import TcRnTypes
import HsSyn
import SrcLoc
diff --git a/compiler/rename/RnNames.hs b/compiler/rename/RnNames.hs
index 84e62f0113..b1dc8877b5 100644
--- a/compiler/rename/RnNames.hs
+++ b/compiler/rename/RnNames.hs
@@ -25,6 +25,8 @@ module RnNames (
#include "HsVersions.h"
+import GhcPrelude
+
import DynFlags
import HsSyn
import TcEnv
diff --git a/compiler/rename/RnPat.hs b/compiler/rename/RnPat.hs
index 9b439a7b19..ce8f3793ad 100644
--- a/compiler/rename/RnPat.hs
+++ b/compiler/rename/RnPat.hs
@@ -35,6 +35,8 @@ module RnPat (-- main entry points
-- ENH: thin imports to only what is necessary for patterns
+import GhcPrelude
+
import {-# SOURCE #-} RnExpr ( rnLExpr )
import {-# SOURCE #-} RnSplice ( rnSplicePat )
diff --git a/compiler/rename/RnSource.hs b/compiler/rename/RnSource.hs
index 0e11ece40e..b47686ebfa 100644
--- a/compiler/rename/RnSource.hs
+++ b/compiler/rename/RnSource.hs
@@ -14,6 +14,8 @@ module RnSource (
#include "HsVersions.h"
+import GhcPrelude
+
import {-# SOURCE #-} RnExpr( rnLExpr )
import {-# SOURCE #-} RnSplice ( rnSpliceDecl, rnTopSpliceDecls )
diff --git a/compiler/rename/RnSplice.hs b/compiler/rename/RnSplice.hs
index a03e4c88df..36b1eda140 100644
--- a/compiler/rename/RnSplice.hs
+++ b/compiler/rename/RnSplice.hs
@@ -11,6 +11,8 @@ module RnSplice (
#include "HsVersions.h"
+import GhcPrelude
+
import Name
import NameSet
import HsSyn
diff --git a/compiler/rename/RnSplice.hs-boot b/compiler/rename/RnSplice.hs-boot
index 875ba05e52..d8f0f1fc7f 100644
--- a/compiler/rename/RnSplice.hs-boot
+++ b/compiler/rename/RnSplice.hs-boot
@@ -1,5 +1,6 @@
module RnSplice where
+import GhcPrelude
import HsSyn
import TcRnMonad
import NameSet
diff --git a/compiler/rename/RnTypes.hs b/compiler/rename/RnTypes.hs
index a1174f65ca..dc519b5ba5 100644
--- a/compiler/rename/RnTypes.hs
+++ b/compiler/rename/RnTypes.hs
@@ -34,6 +34,8 @@ module RnTypes (
elemRdr
) where
+import GhcPrelude
+
import {-# SOURCE #-} RnSplice( rnSpliceType )
import DynFlags
diff --git a/compiler/rename/RnUnbound.hs b/compiler/rename/RnUnbound.hs
index cf5dab5d37..a77025fe7e 100644
--- a/compiler/rename/RnUnbound.hs
+++ b/compiler/rename/RnUnbound.hs
@@ -14,6 +14,8 @@ module RnUnbound ( mkUnboundName
, unboundNameX
, perhapsForallMsg ) where
+import GhcPrelude
+
import RdrName
import HscTypes
import TcRnMonad
diff --git a/compiler/rename/RnUtils.hs b/compiler/rename/RnUtils.hs
index 50598f8b49..bbac43d304 100644
--- a/compiler/rename/RnUtils.hs
+++ b/compiler/rename/RnUtils.hs
@@ -26,6 +26,8 @@ module RnUtils (
where
+import GhcPrelude
+
import HsSyn
import RdrName
import HscTypes