Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List and Array Comprehensions #147

Merged
merged 17 commits into from
Nov 12, 2021
Prev Previous commit
Next Next commit
Fix format.
  • Loading branch information
Matthias Bungeroth authored and stedolan committed Nov 12, 2021
commit ad471be34b5bff8a6ed5407bf8958e0c3e146d53
2 changes: 1 addition & 1 deletion ocaml/typing/typecore.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3105,7 +3105,7 @@ and type_expect_
exp_type = instance Predef.type_unit;
exp_attributes = sexp.pexp_attributes;
exp_env = env }
| Pexp_for(param, slow, shigh, dir, sbody) ->
| Pexp_for(param, slow, shigh, dir, sbody) ->
let low = type_expect env slow
(mk_expected ~explanation:For_loop_start_index Predef.type_int) in
let high = type_expect env shigh
Expand Down