mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Pass argument match kind down to matchCallArguments()
This commit is contained in:
@@ -7848,6 +7848,7 @@ Expr *TypeChecker::callWitness(Expr *base, DeclContext *dc,
|
||||
auto openedFuncType = openedType->castTo<FunctionType>();
|
||||
::matchCallArguments(
|
||||
cs, args, openedFuncType->getParams(),
|
||||
ConstraintKind::ArgumentConversion,
|
||||
cs.getConstraintLocator(call, ConstraintLocator::ApplyArgument));
|
||||
|
||||
// Solve the system.
|
||||
|
||||
Reference in New Issue
Block a user