mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the ability to map back from a ParamDecl to its enclosing Pattern. This
is used by precisely one thing (producing a warning in a scenario that is obsolete because we deprecated the entire thing), so the complexity isn't worth it anymore.
This commit is contained in:
@@ -392,9 +392,6 @@ mapParsedParameters(Parser &parser,
|
||||
bool isLet = specifierKind == Parser::ParsedParameter::Let;
|
||||
param = new (ctx) VarPattern(letVarInOutLoc, isLet, param);
|
||||
}
|
||||
|
||||
if (var)
|
||||
var->setParamParentPattern(param);
|
||||
return param;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user