-tcBody :: LHsExpr Name -> (Refinement, BoxyRhoType) -> TcM (LHsExpr TcId)
-tcBody body (reft, res_ty)
- = do { traceTc (text "tcBody" <+> ppr res_ty <+> ppr reft)
- ; let (co, res_ty') = refineResType reft res_ty
- ; body' <- tcPolyExpr body res_ty'
- ; return (mkLHsWrap co body') }
+tcBody :: LHsExpr Name -> BoxyRhoType -> TcM (LHsExpr TcId)
+tcBody body res_ty
+ = do { traceTc (text "tcBody" <+> ppr res_ty)
+ ; body' <- tcMonoExpr body res_ty
+ ; return body'
+ }