mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
State the previously unstated nested type requirement that CodingKeys adds to the witness requirements of a given type. The goal is to make this member cheap to synthesize, and independent of the expensive protocol conformance checks required to append it to the member list. Further, this makes a clean conceptual separation between what I'm calling "nested type requirements" and actual type and value requirements. With luck, we'll never have to use this attribute anywhere else.
60 KiB
60 KiB