From: simonpj@microsoft.com Date: Thu, 28 Feb 2008 08:31:04 +0000 (+0000) Subject: Wibble to error message (stmt of do block or comprehension) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=210ca9c013a9cd193a78c1590e3f2ec4041f4858;ds=sidebyside Wibble to error message (stmt of do block or comprehension) --- diff --git a/compiler/typecheck/TcMatches.lhs b/compiler/typecheck/TcMatches.lhs index 2f8fbcd..caab44a 100644 --- 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}