Wibble to error message (stmt of do block or comprehension)
authorsimonpj@microsoft.com <unknown>
Thu, 28 Feb 2008 08:31:04 +0000 (08:31 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 28 Feb 2008 08:31:04 +0000 (08:31 +0000)
compiler/typecheck/TcMatches.lhs

index 2f8fbcd..caab44a 100644 (file)
@@ -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}