Files
swift-mirror/lib/Sema/CSOptimizer.cpp
Pavel Yaskevich 9b62c84a4f [CSOptimizer] Adjust scoreCandidateMatch to indicate when match cannot be decided
It is not always possible to match candidate types against corresponding
parameter types for certain overloads i.e. when parameter is an associated type.

`scoreCandidateMatch` needs to be able to indicate that to the caller
to allow it to move to the next parameter (if any) without failing the
overload choice when the match cannot be established.
2024-12-17 11:36:41 -08:00

37 KiB