compiler
compiler copied to clipboard
✨ Add syntax for updating object fields.
Most likely this a will be JS-style spread operator:
{ ...obj, field: newValue }
Not sure if I should open another issue, but it would be very nice to support this syntax in pattern matching too:
when obj
is { field, ...rest } => ...