mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ParameterTypeFlags] Incorporate review feedback
This commit is contained in:
@@ -623,7 +623,7 @@ static Type removeArgumentLabels(Type type, unsigned numArgumentLabels) {
|
||||
SmallVector<TupleTypeElt, 4> elements;
|
||||
elements.reserve(tupleTy->getNumElements());
|
||||
for (const auto &elt : tupleTy->getElements()) {
|
||||
elements.push_back(elt.getWithName());
|
||||
elements.push_back(elt.getWithoutName());
|
||||
}
|
||||
inputType = TupleType::get(elements, type->getASTContext());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user