mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When we detect that a requirement source is self-derived, identify the redundant subpath and remove it to produce a new, smaller requirement source that computes the same result. We were doing this form the limited case where the redundant subpath ended at the end of the requirement source; generalize that notion. Fixes SR-5601.
607 B
607 B