X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcMatches.lhs;h=6d917d1f87406732a3c5973f2e9c823a6d8d2e2a;hb=836b1e90821aacc9d1e09fe78085f911597274c8;hp=3457f32ce07509226bdef966681cae71a6162933;hpb=fb6d198f498d4e325a540f28aaa6e1d1530839c3;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcMatches.lhs b/compiler/typecheck/TcMatches.lhs index 3457f32..6d917d1 100644 --- a/compiler/typecheck/TcMatches.lhs +++ b/compiler/typecheck/TcMatches.lhs @@ -243,8 +243,7 @@ tcDoStmts PArrComp stmts body res_ty (HsDo PArrComp stmts' body' (mkPArrTy elt_ty)) } tcDoStmts DoExpr stmts body res_ty - = do { (stmts', body') <- tcStmts DoExpr tcDoStmt stmts - res_ty $ + = do { (stmts', body') <- tcStmts DoExpr tcDoStmt stmts res_ty $ tcBody body ; return (HsDo DoExpr stmts' body' res_ty) }