swift
1f887202 - [Diagnostics] Don't attempt to synthesize arguments when destructuring a single tuple argument results in an overrun

Commit
3 days ago
[Diagnostics] Don't attempt to synthesize arguments when destructuring a single tuple argument results in an overrun If arguments are represented by a single tuple it's possible that the issue is not about missing parameters but instead about tuple destructuring. Fix `fixMissingArguments` to check for overruns after destructuring and stop if that produces more arguments then parameters because such situations are better diagnosed as a general conversion failure rather than a missing argument(s) problem. Resolves: rdar://159408715
Author
Parents
Loading