X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fparser%2FRdrHsSyn.lhs;h=ace6fd0e5e9cb141922eebb4ff2b028eb000140c;hb=1bf363052778fc39335ea3701a3229572358c51e;hp=14ccd2765387ed1a6a1eaa079aef65d7f0c8a054;hpb=ac9c1e5de9629103a125e0515dcee2466ff898a7;p=ghc-hetmet.git diff --git a/compiler/parser/RdrHsSyn.lhs b/compiler/parser/RdrHsSyn.lhs index 14ccd27..ace6fd0 100644 --- a/compiler/parser/RdrHsSyn.lhs +++ b/compiler/parser/RdrHsSyn.lhs @@ -720,7 +720,7 @@ makeFunBind :: Located id -> Bool -> [LMatch id] -> HsBind id -- Like HsUtils.mkFunBind, but we need to be able to set the fixity too makeFunBind fn is_infix ms = FunBind { fun_id = fn, fun_infix = is_infix, fun_matches = mkMatchGroup ms, - fun_co_fn = idCoercion, bind_fvs = placeHolderNames } + fun_co_fn = idHsWrapper, bind_fvs = placeHolderNames } checkPatBind lhs (L _ grhss) = do { lhs <- checkPattern lhs