mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove silgen changes and use getParameterType in CSApply
This commit is contained in:
@@ -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 ¶m = subscriptTy->getParams()[index];
|
||||
verifyThatArgumentIsHashable(index, param.getPlainType(), locator);
|
||||
verifyThatArgumentIsHashable(index, param.getParameterType(), locator);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user