Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Jan 16, 2025
1 parent 85c46e9 commit cb1416d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lowering/desugar.ml
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ and build_actor at ts (exp_opt : Ir.exp option) self_id es obj_typ =
(fun tf ->
match T.lookup_val_field_opt tf.T.lab dom_fields,
T.lookup_val_field_opt tf.T.lab rng_fields with
| Some _, _ (* ignore consumed (overriden) *)
| Some _, _ (* ignore consumed (overridden) *)
| _, Some _ -> (* ignore produced (provided) *)
None
| None, None ->
Expand Down
2 changes: 1 addition & 1 deletion src/mo_frontend/typing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@ and check_migration env (stab_tfs : T.field list) exp_opt =
(List.filter_map
(fun tf ->
match T.lookup_val_field_opt tf.T.lab dom_tfs, T.lookup_val_field_opt tf.T.lab rng_tfs with
| _, Some _ (* ignore consumed (overriden) *)
| _, Some _ (* ignore consumed (overridden) *)
| Some _, _ -> (* ignore produced (provided) *)
None
| None, None ->
Expand Down

0 comments on commit cb1416d

Please sign in to comment.