From: simonpj@microsoft.com Date: Thu, 6 May 2010 16:11:11 +0000 (+0000) Subject: Change an assert to a warn X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c7c2a6b5ce0ea2fa010b193d059d4705a1791c40;p=ghc-hetmet.git Change an assert to a warn This is in the constraint simplifier which I'm about to rewrite, so I'm hoping the assert isn't fatal! --- diff --git a/compiler/typecheck/TcTyFuns.lhs b/compiler/typecheck/TcTyFuns.lhs index 7bb8680..68e2051 100644 --- 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