Skip to content

[5.5][Serialization] Add some checks for invalid types #36977

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
Apr 21, 2021

Conversation

bnbarham
Copy link
Contributor

Cherry-pick serialization crashes fix to 5.5:

When allowing errors there's various cases where an invalid type is used
during serialization:

  • Invalid explicit conformances on an extension
  • Superclass with invalid generic type

Add checks to skip these to avoid crashing.

Resolves rdar://75379780.

When allowing errors there's various cases where an invalid type is used
during serialization:
  - Invalid explicit conformances on an extension
  - Superclass with invalid generic type

Add checks to skip these to avoid crashing.

Resolves rdar://75379780.
@bnbarham bnbarham requested a review from akyrtzi April 20, 2021 23:13
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham merged commit 47ca24d into swiftlang:release/5.5 Apr 21, 2021
@bnbarham bnbarham deleted the cherry-pick-75379780 branch April 21, 2021 03:26
@bnbarham bnbarham added the r5.5 label Apr 21, 2021
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants