Skip to content

Commit a80d31a

Browse files
committed
fix
1 parent 3a09840 commit a80d31a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/ml/typecore.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,7 @@ and type_expect_ ~context ?in_function ?(recarg = Rejected) env sexp ty_expected
26502650
}
26512651
| Pexp_record (lid_sexp_list, Some sexp) ->
26522652
assert (lid_sexp_list <> []);
2653-
let exp = type_expect ~context:None ~recarg env sexp (newvar ()) in
2653+
let exp = type_exp ~context:None ~recarg env sexp in
26542654
let ty_record, opath =
26552655
let get_path ty =
26562656
try

0 commit comments

Comments
 (0)