We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: 95314f70fefe4dcd9b362a8cdb300328
Issue Description:
Property observers are not triggered from observers on other instances of the same class:
class Thing { var related: Thing? var observerCalled = false var property: String = "Initial" { didSet { observerCalled = true related?.property = property //should trigger related's observer } } } let thing = Thing() thing.related = Thing() thing.property = "New Value" print("thing observer called: \(thing.observerCalled) [expected true]") //true print("related observer called: \(thing.related!.observerCalled) [expected true]") //false
The text was updated successfully, but these errors were encountered:
Ugh. We really need to check that the base of the property access is statically self.
self
Sorry, something went wrong.
#15280
Resolved in the above linked PR, and will take effect in Swift 5 mode.
andyvn22 (JIRA User), Could you verify if the problem is fixed and if so move the JIRA to "Closed"? Thanks! Anna
hamishknight
No branches or pull requests
Additional Detail from JIRA
md5: 95314f70fefe4dcd9b362a8cdb300328
Issue Description:
Property observers are not triggered from observers on other instances of the same class:
The text was updated successfully, but these errors were encountered: