mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When simplifying a function application constraint, check the argument labels for that application against the disjunction containing the overload set, disabling any overloads with mis-matching labels. This is staging for several different directions: * Eliminating the argument label matching from performMemberLookup, where it does not belong * More aggressively filtering the overload set when we have some concrete information about argument types * Identifying favored constraints when we have some concrete information about argument types At present, the only easily-visible effect of this change is that we now properly handle argument label matching for non-member functions.
23 KiB
23 KiB