diff options
| author | Graydon Hoare <[email protected]> | 2010-07-23 15:38:34 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-23 15:38:34 -0700 |
| commit | 3ce18d88c5d172340050c6603c14835a3a8530b7 (patch) | |
| tree | e3ecd214630c64ccc27797e73ed0c32bfee5ddf2 /src/boot | |
| parent | Improve mutability checking. Closes #118. (diff) | |
| download | rust-3ce18d88c5d172340050c6603c14835a3a8530b7.tar.xz rust-3ce18d88c5d172340050c6603c14835a3a8530b7.zip | |
Another quick fix from jmuizelaar for that "some ocaml versions dont't notice wrong wildcard count in patterns" bug.
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/me/type.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/me/type.ml b/src/boot/me/type.ml index 7943e88b..2e647eb7 100644 --- a/src/boot/me/type.ml +++ b/src/boot/me/type.ml @@ -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 |