mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SubstitutionMap::lookupConformance() would map archetypes out of context to compute a conformance path. Do the same thing in SubstitutionMap::lookupSubstitution(). The DenseMap of replacement types in a SubstitutionMap now always has GenericTypeParamTypes as keys. This simplifies some code and brings us one step closer to a more efficient representation of SubstitutionMaps.
8.9 KiB
8.9 KiB