mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Teach the serialized form of ArchetypeType about its owning generic environment, so we can wire up the generic environment of (primary) archetypes eagerly (at the point of deserialization) rather than when we form the generic environment. This ensures that there is no point at which we have a (non-opened-existential) archetype without a generic environment. ... except that the type reconstruction code creates such archetypes.
27 KiB
27 KiB