projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(F)SLIT -> (f)sLit in TcDeriv
[ghc-hetmet.git]
/
compiler
/
typecheck
/
TcMatches.lhs
diff --git
a/compiler/typecheck/TcMatches.lhs
b/compiler/typecheck/TcMatches.lhs
index
2f8fbcd
..
5826eb9
100644
(file)
--- a/
compiler/typecheck/TcMatches.lhs
+++ b/
compiler/typecheck/TcMatches.lhs
@@
-25,7
+25,6
@@
import {-# SOURCE #-} TcExpr( tcSyntaxOp, tcInferRho, tcMonoExpr, tcPolyExpr )
import HsSyn
import TcRnMonad
import HsSyn
import TcRnMonad
-import TcGadt
import Inst
import TcEnv
import TcPat
import Inst
import TcEnv
import TcPat
@@
-43,6
+42,7
@@
import TysPrim
import Outputable
import Util
import SrcLoc
import Outputable
import Util
import SrcLoc
+import FastString
import Control.Monad
\end{code}
import Control.Monad
\end{code}
@@
-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)
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}
4 (ppr stmt)
\end{code}