[SR-15271] Improve Codable Diagnostics When CodingKeys Do Not Match Properties #57593
Labels
compiler
The Swift compiler itself
derived conformances
Feature → protocol → conformances: derived conformances aka synthesized conformances
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
improvement
Additional Detail from JIRA
md5: 3c54547b3d23d4952661aaf14230a55d
Issue Description:
Consider
What we should have is some kind of notes that explain that the manually-provided CodingKeys are insufficient to satisfy the ad-hoc "nested type requirement" of Codable because of the typo. Instead, all we say is that Foo doesn't conform to Codable.
The text was updated successfully, but these errors were encountered: