projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b708d7d
)
[project @ 2003-01-06 15:29:27 by simonpj]
author
simonpj
<unknown>
Mon, 6 Jan 2003 15:29:27 +0000
(15:29 +0000)
committer
simonpj
<unknown>
Mon, 6 Jan 2003 15:29:27 +0000
(15:29 +0000)
Small extra tc-trace
ghc/compiler/typecheck/TcBinds.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/typecheck/TcBinds.lhs
b/ghc/compiler/typecheck/TcBinds.lhs
index
27365bd
..
32789f8
100644
(file)
--- a/
ghc/compiler/typecheck/TcBinds.lhs
+++ b/
ghc/compiler/typecheck/TcBinds.lhs
@@
-243,6
+243,7
@@
tcBindWithSigs top_lvl mbind sigs is_rec
Just sig -> tcSigPolyId sig -- Signature
Nothing -> mkLocalId name forall_a_a -- No signature
in
Just sig -> tcSigPolyId sig -- Signature
Nothing -> mkLocalId name forall_a_a -- No signature
in
+ traceTc (text "tcBindsWithSigs: error recovery" <+> ppr binder_names) `thenM_`
returnM (EmptyMonoBinds, poly_ids)
) $
returnM (EmptyMonoBinds, poly_ids)
) $