File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ static ValueDecl *deriveDistributedActor_id(DerivedConformance &derived) {
7575 propertyType, propertyType,
7676 /* isStatic=*/ false , /* isFinal=*/ true );
7777
78+ propDecl->setIntroducer (VarDecl::Introducer::Let);
79+
7880 // mark as @_distributedActorIndependent, allowing access to it from everywhere
7981 propDecl->getAttrs ().add (
8082 new (C) DistributedActorIndependentAttr (/* IsImplicit=*/ true ));
@@ -102,6 +104,8 @@ static ValueDecl *deriveDistributedActor_actorTransport(
102104 propertyType, propertyType,
103105 /* isStatic=*/ false , /* isFinal=*/ true );
104106
107+ propDecl->setIntroducer (VarDecl::Introducer::Let);
108+
105109 // mark as @_distributedActorIndependent, allowing access to it from everywhere
106110 propDecl->getAttrs ().add (
107111 new (C) DistributedActorIndependentAttr (/* IsImplicit=*/ true ));
You can’t perform that action at this time.
0 commit comments