Files
Rintaro Ishizaki 39606e6269 [refactoring] Rework "add codable implementation" refactoring
* Support extensions including conditional conformance
* Correct access modifiers
* More correct lookup for the synthesized declarations
* Avoid printing decls in nested types (rdar://98025945)
2024-03-13 13:34:32 +09:00

16 lines
256 B
Plaintext

struct User: Codable {
private enum CodingKeys: CodingKey {
}
init(from decoder: any Decoder) throws {
}
func encode(to encoder: any Encoder) throws {
var container = encoder.container(keyedBy: User.CodingKeys.self)
}
}