Wibble to error message (stmt of do block or comprehension)
[ghc-hetmet.git] / 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}