mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
move the rest of the state out of Parameter and into ParamDecl,
in prep for Parameter going away. NFC.
This commit is contained in:
@@ -307,7 +307,7 @@ ParameterList *ModuleFile::readParameterList() {
|
||||
// Decode the default argument kind.
|
||||
// FIXME: Default argument expression, if available.
|
||||
if (auto defaultArg = getActualDefaultArgKind(rawDefaultArg))
|
||||
result.defaultArgumentKind = *defaultArg;
|
||||
result.decl->setDefaultArgumentKind(*defaultArg);
|
||||
params.push_back(result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user