X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Frename%2FRnBinds.lhs;h=f1ac43050e092ce9e184be0b8da4ca71ce58d83f;hp=713fe009cc936a4eaf244f0d76fc8af7d1c7d4eb;hb=e6d057711f4d6d6ff6342c39fa2b9e44d25447f1;hpb=f80b81f8b56ebd0fa0f7f82494a5090e9ab64256 diff --git a/compiler/rename/RnBinds.lhs b/compiler/rename/RnBinds.lhs index 713fe00..f1ac430 100644 --- a/compiler/rename/RnBinds.lhs +++ b/compiler/rename/RnBinds.lhs @@ -397,7 +397,7 @@ rnBind sig_fn trim (L loc (FunBind { fun_id = name, fun_infix = inf, fun_matches ; checkPrecMatch inf plain_name matches' ; return (L loc (FunBind { fun_id = new_name, fun_infix = inf, fun_matches = matches', - bind_fvs = trim fvs, fun_co_fn = idCoercion }), + bind_fvs = trim fvs, fun_co_fn = idHsWrapper }), [plain_name], fvs) } \end{code} @@ -445,7 +445,7 @@ rnMethodBind cls sig_fn gen_tyvars (L loc (FunBind { fun_id = name, fun_infix = in checkPrecMatch inf plain_name new_group `thenM_` returnM (unitBag (L loc (FunBind { fun_id = sel_name, fun_infix = inf, fun_matches = new_group, - bind_fvs = fvs, fun_co_fn = idCoercion })), + bind_fvs = fvs, fun_co_fn = idHsWrapper })), fvs `addOneFV` plain_name) -- The 'fvs' field isn't used for method binds where