projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b262d
)
Change an assert to a warn
author
simonpj@microsoft.com
<unknown>
Thu, 6 May 2010 16:11:11 +0000
(16:11 +0000)
committer
simonpj@microsoft.com
<unknown>
Thu, 6 May 2010 16:11:11 +0000
(16:11 +0000)
This is in the constraint simplifier which I'm about
to rewrite, so I'm hoping the assert isn't fatal!
compiler/typecheck/TcTyFuns.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcTyFuns.lhs
b/compiler/typecheck/TcTyFuns.lhs
index
7bb8680
..
68e2051
100644
(file)
--- a/
compiler/typecheck/TcTyFuns.lhs
+++ b/
compiler/typecheck/TcTyFuns.lhs
@@
-315,7
+315,7
@@
no further propoagation is possible.
--
normaliseEqs :: [Inst] -> TcM EqConfig
normaliseEqs eqs
- = do { ASSERTM2( allM wantedEqInstIsUnsolved eqs, ppr eqs )
+ = do { WARNM2( anyM wantedEqInstIsUnsolved eqs, ppr eqs )
; traceTc $ ptext (sLit "Entering normaliseEqs")
; eqss <- mapM normEqInst eqs