Files
swift-mirror/lib/Sema/CSSimplify.cpp
Nathan Hawes 82544451e6 [Sema][CSSimplify] Account for synthesized args when diagnosing labelling issues in matchCallArgumentsImpl
Unfulfilled params get arguments synthesized for them which are added
to the end of the argument list. Later logic to detect out-of-order
arguments and produce relabelling fixes didn't account for them though.
This improves several diagnostics for mislabelled call arguments in the
existing tests.
2021-07-30 14:53:34 +10:00

468 KiB