rename default initializer's ActorSystem parameter name to actorSystem

Konrad, myself, and others feel the longer name would be better, rather than just "system"
This commit is contained in:
Kavon Farvardin
2022-03-07 19:33:42 -07:00
parent 1f47442147
commit 01a5fafa7c
18 changed files with 23 additions and 23 deletions

View File

@@ -302,8 +302,8 @@ static ConstructorDecl *createImplicitConstructor(NominalTypeDecl *decl,
accessLevel = decl->getEffectiveAccess();
auto systemTy = getDistributedActorSystemType(classDecl);
// Create the parameter.
auto *arg = new (ctx) ParamDecl(SourceLoc(), Loc, ctx.Id_system, Loc,
// Create the parameter. API name is actorSystem, local name is system
auto *arg = new (ctx) ParamDecl(SourceLoc(), Loc, ctx.Id_actorSystem, Loc,
ctx.Id_system, decl);
arg->setSpecifier(ParamSpecifier::Default);
arg->setInterfaceType(systemTy);