@@ -897,7 +897,7 @@ void SILGenFunction::collectThunkParams(
897897static llvm::Optional<SILValue>
898898emitThunkIndirectErrorArgument (SILGenFunction &SGF, SILLocation loc,
899899 CanSILFunctionType fnType) {
900- // If the function we're calling has as indirect error result, create an
900+ // If the function we're calling has an indirect error result, create an
901901 // argument for it.
902902 auto innerError = fnType->getOptionalErrorResult ();
903903 if (!innerError || innerError->getConvention () != ResultConvention::Indirect)
@@ -4876,7 +4876,7 @@ static void buildThunkBody(SILGenFunction &SGF, SILLocation loc,
48764876 outputSubstType.getResult (),
48774877 fnType, thunkType);
48784878
4879- // If the function we're calling has as indirect error result, create an
4879+ // If the function we're calling has an indirect error result, create an
48804880 // argument for it.
48814881 if (auto innerIndirectErrorAddr =
48824882 emitThunkIndirectErrorArgument (SGF, loc, fnType)) {
@@ -6216,7 +6216,7 @@ SILGenFunction::emitVTableThunk(SILDeclRef base,
62166216 inputSubstType.getResult (),
62176217 derivedFTy, thunkTy);
62186218
6219- // If the function we're calling has as indirect error result, create an
6219+ // If the function we're calling has an indirect error result, create an
62206220 // argument for it.
62216221 if (auto innerIndirectErrorAddr =
62226222 emitThunkIndirectErrorArgument (*this , loc, derivedFTy)) {
@@ -6607,7 +6607,7 @@ void SILGenFunction::emitProtocolWitness(
66076607 reqtSubstTy.getResult (),
66086608 witnessFTy, thunkTy);
66096609
6610- // If the function we're calling has as indirect error result, create an
6610+ // If the function we're calling has an indirect error result, create an
66116611 // argument for it.
66126612 if (auto innerIndirectErrorAddr =
66136613 emitThunkIndirectErrorArgument (*this , loc, witnessFTy)) {
0 commit comments