Fix typo in CSStep.cpp

substition -> substitution
This commit is contained in:
Ikko Ashimine
2021-05-02 02:20:20 +09:00
committed by GitHub
parent 20741e059b
commit 97029aa9f9

View File

@@ -565,7 +565,7 @@ bool IsDeclRefinementOfRequest::evaluate(Evaluator &evaluator,
origType->getInterfaceType()->getCanonicalType()->getAs<SubstitutableType>();
// Make sure any duplicate bindings are equal to the one already recorded.
// Otherwise, the substition has conflicting generic arguments.
// Otherwise, the substitution has conflicting generic arguments.
auto bound = substMap.find(interfaceTy);
if (bound != substMap.end() && !bound->second->isEqual(substType))
return CanType();