You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typet = { b: int;c: bool }
letf()=let a = { b=1; c=true } in
{ a with b=2 }
Whereas it should compile to:
f() ->A= #{ b=>1, c=>true },
A#{ b :=2 }.
To get this done, we need to look into the extended_expression of the Texp_record value and if it is not None, then use that with the already existing Expr.map_update function from the Ast helpers.
The text was updated successfully, but these errors were encountered:
The following OCaml currently does not compile:
Whereas it should compile to:
To get this done, we need to look into the
extended_expression
of theTexp_record
value and if it is not None, then use that with the already existingExpr.map_update
function from the Ast helpers.The text was updated successfully, but these errors were encountered: