mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the completion loc was in a trailing closure arg, it only makes sense to ignore later missing args if they have function type, as there's no way for the user to complete the call for overload being matched otherwise. Also fix a bug where we were incorrectly penalizing solutions with holes that were ultimately due to missing arguments after the completion position. Resolves rdar://problem/72412302
426 KiB
426 KiB