diff options
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 14047f44..a631e58d 100644 --- a/src/boot/me/type.ml +++ b/src/boot/me/type.ml @@ -771,7 +771,7 @@ let check_stmt (cx:Semant.ctxt) : (fn_ctx -> Ast.stmt -> unit) = | Ast.STMT_ret (Some atom) -> if fn_ctx.fnctx_is_iter then Common.err None - "iterators can't return values; did you mean 'put'?" + "iterators can't return values; did you mean 'put'?"; demand fn_ctx.fnctx_return_type (check_atom atom) | Ast.STMT_ret None -> |