projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a846c9
)
[project @ 2001-09-13 14:44:24 by simonpj]
author
simonpj
<unknown>
Thu, 13 Sep 2001 14:44:24 +0000
(14:44 +0000)
committer
simonpj
<unknown>
Thu, 13 Sep 2001 14:44:24 +0000
(14:44 +0000)
More error-message grammar
ghc/compiler/rename/RnEnv.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnEnv.lhs
b/ghc/compiler/rename/RnEnv.lhs
index
d5f39f0
..
ffcd10b
100644
(file)
--- a/
ghc/compiler/rename/RnEnv.lhs
+++ b/
ghc/compiler/rename/RnEnv.lhs
@@
-80,7
+80,7
@@
newTopBinder mod rdr_name loc
-- There should never be a qualified name in a binding position (except in instance decls)
-- The parser doesn't check this because the same parser parses instance decls
(if isQual rdr_name then
- qualNameErr (text "its declaration") (rdr_name,loc)
+ qualNameErr (text "In its declaration") (rdr_name,loc)
else
returnRn ()
) `thenRn_`