We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 423f312 commit 68c39d5Copy full SHA for 68c39d5
lambda/translcore.ml
@@ -395,7 +395,7 @@ and transl_exp0 ~in_new_scope ~scopes e =
395
| Record_unboxed _ -> assert false
396
| Record_float -> Psetfloatfield (lbl.lbl_pos, Assignment)
397
| Record_extension _ ->
398
- Psetfield (lbl.lbl_pos, maybe_pointer newval, Assignment)
+ Psetfield (lbl.lbl_pos + 1, maybe_pointer newval, Assignment)
399
in
400
Lprim(access, [transl_exp ~scopes arg; transl_exp ~scopes newval],
401
of_location ~scopes e.exp_loc)
0 commit comments