Remove silgen changes and use getParameterType in CSApply

This commit is contained in:
zoecarver
2019-11-26 00:07:31 -08:00
parent 0f6ff75c57
commit c19f3cefec
3 changed files with 26 additions and 70 deletions

View File

@@ -2250,7 +2250,7 @@ void ConstraintSystem::resolveOverload(ConstraintLocator *locator,
// Hashable, because it would be used as a component inside key path.
for (auto index : indices(subscriptTy->getParams())) {
const auto &param = subscriptTy->getParams()[index];
verifyThatArgumentIsHashable(index, param.getPlainType(), locator);
verifyThatArgumentIsHashable(index, param.getParameterType(), locator);
}
}
}