swift
[Diagnostics] Diagnose extraneous argument(s) via fixes
#27728
Merged

[Diagnostics] Diagnose extraneous argument(s) via fixes #27728

xedin merged 22 commits into swiftlang:master from xedin:port-extraneous-args
xedin
xedin [CSFix] Add a fix to remove extraneous arguments
f1ed46ee
xedin [ConstraintSystem] Extend `MatchCallArgumentListener::extraArguments`…
22813d96
xedin [CSSimplify] Introduce extraneous argument fixes
86bcecf5
xedin [ConstraintSystem] Make contextual function type available for `match…
e33a3402
xedin [CSFix] Record all available information about extraneous arguments
e97164df
xedin [CSDiagnostics] Diagnose extraneous arguments
c97603f5
xedin [ConstraintSystem] Record a fix for extraneous arguments after matche…
1b302b98
xedin [ConstraintSystem] Fix an attempt to construct `Void` type with argum…
1b7dc320
xedin [Diagnostics] Diagnose extraneous arguments in a nullary call
40ac8746
xedin [Diagnostics] Fix typo in `candidate_with_extraneous_args` diagnostic…
9855b406
xedin [Diagnostics] NFC: Adopt new `getArgumentListExprFor` API
43f95a3e
xedin [Diagnostics] Tailored diagnostic for missing arguments in contextual…
02688a90
xedin [ConstraintSystem] Check whether extraneous arguments are related to …
1022ac76
xedin [Diagnostics] NFC: Adjust diagnostics improved by extraneous argument…
e09e8c3d
xedin [Diagnostics] Introdduce multiple extraneous arguments diagnostic
b214b8a2
xedin [ConstraintSystem] Allow argument matcher to continue in presence of …
8d3409bd
xedin [CSFix] Make sure single parameter tuple splat is detected correctly
04850655
xedin [CSDiagnostics] Attach `extra argument` ambiguity note to the overloa…
d69a1a5e
xedin [Diagnostics] Add a workaround for inability to diagnose name shadowing
2a0080c6
xedin [Diagnostics] NFC: Use `isLastElement` API instead of checking locato…
9913f8db
xedin [CSDiag] NFC: Remove extraneous argument diagnostics which are now ob…
989b573f
xedin [Diagnostics] NFC: Adjust more tests improved by extraneous argument(…
1ffe97f2
xedin xedin requested a review from DougGregor DougGregor 6 years ago
xedin xedin requested a review from hborla hborla 6 years ago
xedin
xedin
hborla
hborla approved these changes on 2019-10-17
xedin
xedin xedin merged 8d051922 into master 6 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone