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
…#71.
This keeps the semantics that global property values are
immutable but returns an error when you try to change one.
We might still want to change this semantic, but at least
this prevents silent failure.
If you try to set the same global property twice, it succeeds but only the first value is used:
Output:
The source of the problem is:
This should either be
.insert()
which would make properties mutable, or.try_insert()?
and then return aResult<T>
.But it's bad to have the API appear to succeed but not do anything.
The text was updated successfully, but these errors were encountered: