提交 3ce18d88 编写于 作者: G Graydon Hoare

Another quick fix from jmuizelaar for that "some ocaml versions dont't notice...

Another quick fix from jmuizelaar for that "some ocaml versions dont't notice wrong wildcard count in patterns" bug.
上级 44e2dc27
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册