[SR-7709] didSet values are incorrect when using KeyPaths #50249
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Version 9.3 (9E145) - High Sierra 10.13.4 (17E199)
Additional Detail from JIRA
md5: 78d643d1057e0d123bdc650f45823821
duplicates:
relates to:
Issue Description:
Example code courtesy of Vermeulen (JIRA User):
Value is changed to 2, but reading the value reflects '1'.
Removing the didSet causes the printout to be the correct value, 2.
Similar to SR-5442, this also causes the didSet to evaluate its block out of order.
The text was updated successfully, but these errors were encountered: