From c7c2a6b5ce0ea2fa010b193d059d4705a1791c40 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Thu, 6 May 2010 16:11:11 +0000 Subject: [PATCH] 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! --- compiler/typecheck/TcTyFuns.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4