mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The root potential archetypes in an archetype builder are associated with generic parameters. Start decoupling potential archetypes from a specific GenericTypeParamType and instead work with the abstracted depth/index. The goal here is to allow the same archetype builder to be used within different generic environments (which includes both different generic parameters and different archetypes). As part of this, boost the archetype builder's GenericTypeParamKey from a local type to a more generic GenericParamKey that can be used in other interfaces that want to work with abstracted generic parameters.
3.5 KiB
3.5 KiB