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:
2aa5738
)
[project @ 2001-09-10 07:25:17 by simonpj]
author
simonpj
<unknown>
Mon, 10 Sep 2001 07:25:17 +0000
(07:25 +0000)
committer
simonpj
<unknown>
Mon, 10 Sep 2001 07:25:17 +0000
(07:25 +0000)
Fix ungramatical error message
ghc/compiler/rename/RnEnv.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/rename/RnEnv.lhs
b/ghc/compiler/rename/RnEnv.lhs
index
69ec8f6
..
d5f39f0
100644
(file)
--- a/
ghc/compiler/rename/RnEnv.lhs
+++ b/
ghc/compiler/rename/RnEnv.lhs
@@
-994,9
+994,7
@@
unknownNameErr name
qualNameErr descriptor (name,loc)
= pushSrcLocRn loc $
- addErrRn (hsep [ ptext SLIT("Invalid use of qualified name"),
- quotes (ppr name),
- ptext SLIT("in"),
+ addErrRn (vcat [ ptext SLIT("Invalid use of qualified name") <+> quotes (ppr name),
descriptor])
dupNamesErr descriptor ((name,loc) : dup_things)