mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add FunctionArgApplyInfo::getArgDescription
This commit adds a member which produces a string describing the argument being applied. This will either be its argument label or position in the argument list.
This commit is contained in:
@@ -286,8 +286,8 @@ FailureDiagnostic::getFunctionArgApplyInfo(ConstraintLocator *locator) const {
|
||||
auto argIdx = applyArgElt->getArgIdx();
|
||||
auto paramIdx = applyArgElt->getParamIdx();
|
||||
|
||||
return FunctionArgApplyInfo(argExpr, argIdx, getType(argExpr), paramIdx,
|
||||
fnInterfaceType, fnType, callee);
|
||||
return FunctionArgApplyInfo(cs, argExpr, argIdx, getType(argExpr),
|
||||
paramIdx, fnInterfaceType, fnType, callee);
|
||||
}
|
||||
|
||||
Type FailureDiagnostic::restoreGenericParameters(
|
||||
|
||||
Reference in New Issue
Block a user