mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A substitution map contains conformances, and a conformance can contain a substitution map. This will always be a DAG, but not a tree, and to avoid exponential blowup in certain edge cases, let's cache the work to avoid visiting the same substitution map repeatedly, if multiple conformances refer to the same substitution map.
23 KiB
23 KiB