projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Elaborate for-all message slightly
[ghc-hetmet.git]
/
compiler
/
rename
/
RnPat.lhs
diff --git
a/compiler/rename/RnPat.lhs
b/compiler/rename/RnPat.lhs
index
55155d7
..
584c287
100644
(file)
--- a/
compiler/rename/RnPat.lhs
+++ b/
compiler/rename/RnPat.lhs
@@
-58,11
+58,11
@@
import Literal ( inCharRange )
\end{code}
\end{code}
-*********************************************************
-* *
+%*********************************************************
+%* *
\subsection{Patterns}
\subsection{Patterns}
-* *
-*********************************************************
+%* *
+%*********************************************************
\begin{code}
-- externally abstract type of name makers,
\begin{code}
-- externally abstract type of name makers,
@@
-447,7
+447,7
@@
badDotDot str = ptext (sLit "You cannot use `..' in record") <+> text str
badPun :: Located RdrName -> SDoc
badPun fld = vcat [ptext (sLit "Illegal use of punning for field") <+> quotes (ppr fld),
badPun :: Located RdrName -> SDoc
badPun fld = vcat [ptext (sLit "Illegal use of punning for field") <+> quotes (ppr fld),
- ptext (sLit "Use -XRecordPuns to permit this")]
+ ptext (sLit "Use -XNamedFieldPuns to permit this")]
-- wrappers
-- wrappers