Skip to content

[Serialization] Write protocol compositions as dependencies of protocols #38958

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
merged 1 commit into from
Aug 19, 2021

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Aug 19, 2021

A type dependencies are used at deserialization to drop a protocol early when a dependency is not deserializable. Dependencies on protocols via a protocol composition were not taken into account. This lead to the deserialization process failing later. Fix the serialization process to write protocol dependencies too.

rdar://78631465

A type dependencies are used at deserialization to drop a protocol early
when a dependency is not deserializable. Dependencies on protocols via a
protocol composition were not taken into account. This lead to the
deserialization process failing later. Fix the serialization process to
write protocol dependencies too.

rdar://78631465
@xymus xymus requested review from slavapestov and bnbarham August 19, 2021 18:02
@xymus
Copy link
Contributor Author

xymus commented Aug 19, 2021

@swift-ci Please smoke test

@xymus
Copy link
Contributor Author

xymus commented Aug 19, 2021

@swift-ci Please test Windows

@xymus xymus merged commit 05645a1 into swiftlang:main Aug 19, 2021
@xymus xymus deleted the fix-ioi-proto-composition branch August 19, 2021 23:05
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