X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcMatches.lhs;h=7f5dfadc70da65ba81f3c63d0e1abc04cb7a4e06;hb=0d2346b4f52de431e6274795307759cad47f0ea8;hp=61faca8d3e28ec04fc9e2c3308ba9e231eceaa4a;hpb=3e83dfb21b2f2220dce97427fff5c19459ae68d1;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcMatches.lhs b/compiler/typecheck/TcMatches.lhs index 61faca8..7f5dfad 100644 --- a/compiler/typecheck/TcMatches.lhs +++ b/compiler/typecheck/TcMatches.lhs @@ -172,10 +172,10 @@ tcMatch ctxt pat_tys rhs_ty match = tcGRHSs ctxt grhss rhs_ty -- No result signature -- Result type sigs are no longer supported - tc_grhss ctxt (Just res_sig) grhss (co,rhs_ty) + tc_grhss ctxt (Just res_sig) grhss (co, rhs_ty) = do { addErr (ptext SLIT("Ignoring (deprecated) result type signature") <+> ppr res_sig) - tcGRHSs ctxt grhss (co, inner_ty) } + ; tcGRHSs ctxt grhss (co, rhs_ty) } ------------- tcGRHSs :: TcMatchCtxt -> GRHSs Name -> (Refinement, BoxyRhoType)