[SR-4772] Classes conforming to Codable need to synthesize overrides instead of inheriting conformance #47349
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
derived conformances
Feature → protocol → conformances: derived conformances aka synthesized conformances
Additional Detail from JIRA
md5: 9f437e13a1f41076d594d332117a57db
is duplicated by:
Issue Description:
Classes which inherit from superclasses conforming to
Encodable
orDecodable
should not inherit their superclass's implementations in most cases:Really, the only case where we want to inherit conformance instead of derive is when the class does not add any valid
Encodable
/Decodable
properties.The text was updated successfully, but these errors were encountered: