react
react copied to clipboard
fix(compiler): support UpdateExpression on captured variables
This PR implements support for UpdateExpression (e.g. x++) on variables captured by closures (context identifiers). Previously, this would throw a Todo error. The implementation emulates the behavior of member expression updates by explicitly loading the current value, calculating the new value with a BinaryExpression, and storing it back using StoreContext.