X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcRules.lhs;h=71c539993da115a6c4aab534236f47517715fcd3;hp=83ec995f953e0030c0b43388a5651c2f25a32f47;hb=5de363ca9ebdb7d85e3c353c1cffdf0a1c11128e;hpb=5a185e27def3ee8ace1704235eb277bc60c38618 diff --git a/compiler/typecheck/TcRules.lhs b/compiler/typecheck/TcRules.lhs index 83ec995..71c5399 100644 --- a/compiler/typecheck/TcRules.lhs +++ b/compiler/typecheck/TcRules.lhs @@ -89,7 +89,7 @@ tcRule (HsRule name act hs_bndrs lhs fv_lhs rhs fv_rhs) -- Now figure out what to quantify over -- c.f. TcSimplify.simplifyInfer - ; zonked_forall_tvs <- zonkTcTyVarsAndFV (varSetElems forall_tvs) + ; zonked_forall_tvs <- zonkTcTyVarsAndFV forall_tvs ; gbl_tvs <- tcGetGlobalTyVars -- Already zonked ; qtvs <- zonkQuantifiedTyVars (varSetElems (zonked_forall_tvs `minusVarSet` gbl_tvs))