As described in https://github.com/rescript-lang/rescript/pull/7043#issue-2537532373 record duplication currently emits: ```js let newrecord = { ...obj }; newrecord.field = value; ``` It should be: ``` { ...obj, field: value }; ```
As described in #7043 (comment)
record duplication currently emits:
It should be: