Another quick fix from jmuizelaar for that "some ocaml versions dont't notice wrong wildcard count in patterns" bug.

This commit is contained in:
Graydon Hoare 2010-07-23 15:38:34 -07:00
parent 44e2dc2789
commit 3ce18d88c5

@ -654,7 +654,7 @@ let check_stmt (cx:Semant.ctxt) : (fn_ctx -> Ast.stmt -> unit) =
fn_ctx.fnctx_just_saw_ret <-
match stmt.Common.node with
Ast.STMT_ret _ | Ast.STMT_be _ | Ast.STMT_fail
| Ast.STMT_yield _ -> true
| Ast.STMT_yield -> true
| _ -> false
in