projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more fixups to make a stage 3 build do the right thing with the ghc package
[ghc-hetmet.git]
/
compiler
/
rename
/
RnSource.lhs
diff --git
a/compiler/rename/RnSource.lhs
b/compiler/rename/RnSource.lhs
index
670cfc8
..
993db64
100644
(file)
--- a/
compiler/rename/RnSource.lhs
+++ b/
compiler/rename/RnSource.lhs
@@
-114,6
+114,10
@@
rnSrcDecls (HsGroup { hs_valds = val_decls,
(rn_default_decls, src_fvs5)
<- mapFvRn (wrapLocFstM rnDefaultDecl) default_decls ;
(rn_default_decls, src_fvs5)
<- mapFvRn (wrapLocFstM rnDefaultDecl) default_decls ;
+ -- At this point, stop if we have found errors. Otherwise
+ -- the rnDocEntity stuff reports the errors again.
+ failIfErrsM ;
+
rn_docs <- mapM rnDocEntity docs ;
let {
rn_docs <- mapM rnDocEntity docs ;
let {