Skip to content

Property delegates serialization #24512

New issue

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

Merged

Conversation

DougGregor
Copy link
Member

Serialize the relationship between a property that has an attached delegate
and its backing variable, so deserialization can reestablish that link. While here, fix a bug involving private(set) properties that have attached delegates when used with textual interfaces.

Fixes rdar://problem/50447022.

DougGregor added 3 commits May 5, 2019 21:41
Allow one to cache the output for a particular request when it is known
a priori, such as when the known result is deserialized.
…operties

Serialize the relationship between a property that has an attached delegate
and its backing variable, so deserialization can reestablish that link.

Fixes rdar://problem/50447022.
…ates

Don’t synthesize a missing setter for a property that has an attached
delegate and is in a .swiftinterface file.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit b16ee94 into swiftlang:master May 6, 2019
@DougGregor DougGregor deleted the property-delegates-serialization branch May 6, 2019 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants