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:
6febb61
)
Wibble to error message (stmt of do block or comprehension)
author
simonpj@microsoft.com
<unknown>
Thu, 28 Feb 2008 08:31:04 +0000
(08:31 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 28 Feb 2008 08:31:04 +0000
(08:31 +0000)
compiler/typecheck/TcMatches.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcMatches.lhs
b/compiler/typecheck/TcMatches.lhs
index
2f8fbcd
..
caab44a
100644
(file)
--- a/
compiler/typecheck/TcMatches.lhs
+++ b/
compiler/typecheck/TcMatches.lhs
@@
-599,6
+599,6
@@
checkArgs fun other = panic "TcPat.checkArgs" -- Matches always non-empty
matchCtxt ctxt match = hang (ptext SLIT("In") <+> pprMatchContext ctxt <> colon)
4 (pprMatch ctxt match)
-stmtCtxt ctxt stmt = hang (ptext SLIT("In") <+> pprStmtContext ctxt <> colon)
+stmtCtxt ctxt stmt = hang (ptext SLIT("In a stmt of") <+> pprStmtContext ctxt <> colon)
4 (ppr stmt)
\end{code}