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:
2e68d04
)
Update error message to mention -XPatternSignatures instead of -fglasgow-exts
author
simonpj@microsoft.com
<unknown>
Thu, 1 Nov 2007 18:03:02 +0000
(18:03 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 1 Nov 2007 18:03:02 +0000
(18:03 +0000)
compiler/rename/RnPat.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnPat.lhs
b/compiler/rename/RnPat.lhs
index
c3dc8af
..
b20ec9d
100644
(file)
--- a/
compiler/rename/RnPat.lhs
+++ b/
compiler/rename/RnPat.lhs
@@
-594,7
+594,7
@@
checkTupSize tup_size
\r
patSigErr ty
\r
= (ptext SLIT("Illegal signature in pattern:") <+> ppr ty)
\r
- $$ nest 4 (ptext SLIT("Use -fglasgow-exts to permit it"))
\r
+ $$ nest 4 (ptext SLIT("Use -XPatternSignatures to permit it"))
\r
\r
dupFieldErr str dup
\r
= hsep [ptext SLIT("duplicate field name"),
\r