mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When a pattern within a type context is serialized, serialize its interface type (not its contextual type). When deserializing, record the interface type and keep a side table of the associated DeclContext, so that we can lazily map to the contextual type on first access. This is designed to break recursion when we change the way archetypes and generic environments are serialized.
23 KiB
23 KiB