Skip to content

[Refactoring] Skip failed witness decls in "add codable implementation" #72392

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
Mar 19, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Mar 18, 2024

When there are problems in the properties in the target type, witness methods may not be synthesized. Don't try to add such methods.

Fixes #72387

When there are problems in the properties in the target type, witness
methods may not be synthesized. Don't try to add such methods.

swiftlang#72387
@rintaro rintaro force-pushed the refactoring-codable-sr72387 branch from 7cffa9a to 7177055 Compare March 18, 2024 14:49
@rintaro
Copy link
Member Author

rintaro commented Mar 18, 2024

@swift-ci Please smoke test

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.

Add explicit Codable conformance crashes if type contains an unknown member and already conforms to Decodable
3 participants