summaryrefslogtreecommitdiff
path: root/compiler/rename
diff options
context:
space:
mode:
authorJose Pedro Magalhaes <jpm@cs.uu.nl>2011-05-12 13:26:03 +0200
committerJose Pedro Magalhaes <jpm@cs.uu.nl>2011-05-12 13:26:03 +0200
commit1b381af863d64aaa0a4dd9c816170c58e6131a9e (patch)
tree52fa1f1af2d5256e5f475e3c6dd00630d53fb35d /compiler/rename
parentc25b934ef544fa3eba0a9f9da41b363c470156cb (diff)
parentc8c2f6bb7d79a2a6aeaa3233363fdf0bbbfad205 (diff)
downloadhaskell-1b381af863d64aaa0a4dd9c816170c58e6131a9e.tar.gz
Merge branch 'master' of http://darcs.haskell.org/ghc into ghc-generics
Resolved conflicts: compiler/typecheck/TcTyClsDecls.lhs
Diffstat (limited to 'compiler/rename')
-rw-r--r--compiler/rename/RnBinds.lhs4
-rw-r--r--compiler/rename/RnNames.lhs2
-rw-r--r--compiler/rename/RnTypes.lhs2
3 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rename/RnBinds.lhs b/compiler/rename/RnBinds.lhs
index 0e653fee66..80a47a4ff6 100644
--- a/compiler/rename/RnBinds.lhs
+++ b/compiler/rename/RnBinds.lhs
@@ -457,7 +457,7 @@ rnBind :: (Name -> [Name]) -- Signature tyvar function
rnBind _ trim (L loc bind@(PatBind { pat_lhs = pat
, pat_rhs = grhss
-- pat fvs were stored in bind_fvs
- -- after processing the LHS
+ -- after processing the LHS
, bind_fvs = pat_fvs }))
= setSrcSpan loc $
do { let bndrs = collectPatBinders pat
@@ -477,7 +477,7 @@ rnBind sig_fn trim
, fun_infix = is_infix
, fun_matches = matches }))
-- invariant: no free vars here when it's a FunBind
- = setSrcSpan loc $
+ = setSrcSpan loc $
do { let plain_name = unLoc name
; (matches', fvs) <- bindSigTyVarsFV (sig_fn plain_name) $
diff --git a/compiler/rename/RnNames.lhs b/compiler/rename/RnNames.lhs
index 3a20ac48b6..46058c4677 100644
--- a/compiler/rename/RnNames.lhs
+++ b/compiler/rename/RnNames.lhs
@@ -18,7 +18,7 @@ import HsSyn
import TcEnv ( isBrackStage )
import RnEnv
import RnHsDoc ( rnHsDoc )
-import IfaceEnv ( ifaceExportNames )
+import IfaceEnv ( ifaceExportNames )
import LoadIface ( loadSrcInterface )
import TcRnMonad
diff --git a/compiler/rename/RnTypes.lhs b/compiler/rename/RnTypes.lhs
index ea87745cf0..be90d7d0a9 100644
--- a/compiler/rename/RnTypes.lhs
+++ b/compiler/rename/RnTypes.lhs
@@ -31,7 +31,7 @@ import RnEnv
import TcRnMonad
import RdrName
import PrelNames
-import TypeRep ( funTyConName )
+import TysPrim ( funTyConName )
import Name
import SrcLoc
import NameSet