Skip to content

Commit 0bf1af9

Browse files
committed
fix
1 parent 7979119 commit 0bf1af9

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
@@ -2653,7 +2653,7 @@ and type_expect_ ~context ?in_function ?(recarg = Rejected) env sexp ty_expected
26532653
}
26542654
| Pexp_record (lid_sexp_list, Some sexp) ->
26552655
assert (lid_sexp_list <> []);
2656-
let exp = type_expect ~context:None ~recarg env sexp (newvar ()) in
2656+
let exp = type_exp ~context:None ~recarg env sexp in
26572657
let ty_record, opath =
26582658
let get_path ty =
26592659
try

0 commit comments

Comments
 (0)