From 210ca9c013a9cd193a78c1590e3f2ec4041f4858 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 28 Feb 2008 08:31:04 +0000 Subject: [PATCH] Wibble to error message (stmt of do block or comprehension) --- compiler/typecheck/TcMatches.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 1.7.10.4