From 73b16e3401d4fba1d0fec4af092e89efb8ff4d55 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Fri, 11 Feb 2011 17:38:35 +0000 Subject: [PATCH] Fix small but egregious error: using un-zonked constraints in simplifyRule This resulted in double unifications. Fix is trivial. --- compiler/typecheck/TcSimplify.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs index e25f510..5fc6a5b 100644 --- a/compiler/typecheck/TcSimplify.lhs +++ b/compiler/typecheck/TcSimplify.lhs @@ -523,7 +523,7 @@ simplifyRule name tv_bndrs lhs_wanted rhs_wanted ; (lhs_results, lhs_binds) <- runTcS SimplRuleLhs untch $ - solveWanteds emptyInert lhs_wanted + solveWanteds emptyInert zonked_lhs ; traceTc "simplifyRule" $ vcat [ text "zonked_lhs" <+> ppr zonked_lhs -- 1.7.10.4