Skip to content

Commit 1e29fd9

Browse files
committed
Rename variable.
1 parent c0c8e71 commit 1e29fd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jscomp/ml/typecore.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@ and type_expect_ ?in_function ?(recarg=Rejected) env sexp ty_expected =
21052105
let lbl_exp_list =
21062106
wrap_disambiguate "This record expression is expected to have" ty_record
21072107
(type_label_a_list loc true env
2108-
(fun x k -> k (type_label_exp true env loc ty_record (process_optional_label x)))
2108+
(fun e k -> k (type_label_exp true env loc ty_record (process_optional_label e)))
21092109
opath lid_sexp_list)
21102110
(fun x -> x)
21112111
in
@@ -2175,8 +2175,8 @@ and type_expect_ ?in_function ?(recarg=Rejected) env sexp ty_expected =
21752175
let lbl_exp_list =
21762176
wrap_disambiguate "This record expression is expected to have" ty_record
21772177
(type_label_a_list loc closed env
2178-
(fun x k ->
2179-
k (type_label_exp true env loc ty_record (process_optional_label x)))
2178+
(fun e k ->
2179+
k (type_label_exp true env loc ty_record (process_optional_label e)))
21802180
opath lid_sexp_list)
21812181
(fun x -> x)
21822182
in

0 commit comments

Comments
 (0)