Skip to content

[4.0] [Serialization] Drop enums if a case payload can't be deserialized. #9730

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

Conversation

jrose-apple
Copy link
Contributor

Cherry-pick of #9720 (and #9699) to the 4.0 branch. Reviewed by @jckarter.

rdar://problem/31920901

…covery-for-enums

[Serialization] Drop enums if a case payload can't be deserialized.

rdar://problem/31920901
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple
Copy link
Contributor Author

Note to self: check that the full-test run time hasn't jumped as a result of this commit.

@jrose-apple
Copy link
Contributor Author

…the test numbers are honestly incredibly shaky. Some tests went up, some went down (comparing this build, #7777, against yesterday's #7764. @graydon, any suggestions?

@tkremenek tkremenek merged commit 3d7319a into swiftlang:swift-4.0-branch May 18, 2017
@jrose-apple jrose-apple deleted the 4.0-deserialization-recovery-for-enums branch May 18, 2017 23:22
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