mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
One can overload on async vs. non-async, and the constraint solver has a preference rule based on context. Extend that preference rule to witness matching, so we prefer a witness that exactly matches the effects of the requirement to one that has fewer effects. Fixes rdar://84034057.
619 B
619 B