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:
a549d46
)
Make the error message mentioning -XPatternSignatures spell the flag correctly
author
simonpj@microsoft.com
<unknown>
Wed, 19 Sep 2007 14:28:21 +0000
(14:28 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 19 Sep 2007 14:28:21 +0000
(14:28 +0000)
compiler/rename/RnTypes.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnTypes.lhs
b/compiler/rename/RnTypes.lhs
index
ccfabbb
..
584f438
100644
(file)
--- a/
compiler/rename/RnTypes.lhs
+++ b/
compiler/rename/RnTypes.lhs
@@
-822,7
+822,7
@@
bogusCharError c
patSigErr ty
= (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)
patSigErr ty
= (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)
- $$ nest 4 (ptext SLIT("Use -XPatternSigs to permit it"))
+ $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it"))
dupFieldErr str dup
= hsep [ptext SLIT("duplicate field name"),
dupFieldErr str dup
= hsep [ptext SLIT("duplicate field name"),