mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Rename isPackExpansion -> isOrigPackExpansion for clarity
This commit is contained in:
@@ -2236,7 +2236,7 @@ public:
|
||||
|
||||
pattern.forEachFunctionParam(func.getParams(), /*ignore self*/ false,
|
||||
[&](FunctionParamGenerator ¶m) {
|
||||
if (!param.isPackExpansion()) {
|
||||
if (!param.isOrigPackExpansion()) {
|
||||
auto newParamTy = visit(param.getSubstParams()[0].getParameterType(),
|
||||
param.getOrigType());
|
||||
addParam(param.getOrigFlags(), newParamTy);
|
||||
|
||||
Reference in New Issue
Block a user