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
{{ message }}
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
Confirmed. The docstring says: "Create a new NamedTuple with the new value set on it, either overwriting the old value or appending a new value." But the implementation uses merge which (as documented) takes the LHS. It would make sense to use the RHS instead since that's how merge works in general, and how NamedTuple is going to be implemented in Base. Also setindex isn't very useful if it doesn't overwrite existing values.
I would have thought the result would be
(a = 1, b = "cde")
The text was updated successfully, but these errors were encountered: