projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 1996-05-16 09:42:08 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
typecheck
/
TcDefaults.lhs
diff --git
a/ghc/compiler/typecheck/TcDefaults.lhs
b/ghc/compiler/typecheck/TcDefaults.lhs
index
0296080
..
d714ddd
100644
(file)
--- a/
ghc/compiler/typecheck/TcDefaults.lhs
+++ b/
ghc/compiler/typecheck/TcDefaults.lhs
@@
-47,8
+47,8
@@
tcDefaults [DefaultDecl mono_tys locn]
-- We only care about whether it worked or not
tcLookupClassByKey numClassKey `thenNF_Tc` \ num ->
-- We only care about whether it worked or not
tcLookupClassByKey numClassKey `thenNF_Tc` \ num ->
- tcSimplifyCheckThetas DefaultDeclOrigin
- [ (num, ty) | ty <- tau_tys ] `thenTc` \ _ ->
+ tcSimplifyCheckThetas
+ [ (num, ty) | ty <- tau_tys ] `thenTc_`
returnTc tau_tys
returnTc tau_tys