mirror of
https://github.com/apple/swift.git
synced 2026-09-30 10:17:34 +02:00
`extension P.Protocol` extends a protocol's metatype, but it was stored as an extension of `P` plus a side `IsMetatypeExtension` bit to recover what was written. Represent the written type faithfully and derive metatype- extension-ness from it, so the bit — in memory and in the serialized `ExtensionLayout` record — is no longer needed.