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
Currently, for a stored class property with a `didSet` observer, exclusivity is enforced through the `didSet`, meaning that code invoked during `didSet` can't even read the new value from the property. We should end the dynamic enforcement before `didSet` is run so that code running during `didSet` can freely read the new value. (Note that this can only apply to stored class properties with nonmutating setters; mutating setters have exclusivity enforced from outside and can't end the duration mid-mutation.)
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 0f79c81b92d452ed87c1721e440c15f4
Issue Description:
Currently, for a stored class property with a `didSet` observer, exclusivity is enforced through the `didSet`, meaning that code invoked during `didSet` can't even read the new value from the property. We should end the dynamic enforcement before `didSet` is run so that code running during `didSet` can freely read the new value. (Note that this can only apply to stored class properties with nonmutating setters; mutating setters have exclusivity enforced from outside and can't end the duration mid-mutation.)
The text was updated successfully, but these errors were encountered: