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) {
75
75
propertyType, propertyType,
76
76
/* isStatic=*/ false , /* isFinal=*/ true );
77
77
78
+ propDecl->setIntroducer (VarDecl::Introducer::Let);
79
+
78
80
// mark as @_distributedActorIndependent, allowing access to it from everywhere
79
81
propDecl->getAttrs ().add (
80
82
new (C) DistributedActorIndependentAttr (/* IsImplicit=*/ true ));
@@ -102,6 +104,8 @@ static ValueDecl *deriveDistributedActor_actorTransport(
102
104
propertyType, propertyType,
103
105
/* isStatic=*/ false , /* isFinal=*/ true );
104
106
107
+ propDecl->setIntroducer (VarDecl::Introducer::Let);
108
+
105
109
// mark as @_distributedActorIndependent, allowing access to it from everywhere
106
110
propDecl->getAttrs ().add (
107
111
new (C) DistributedActorIndependentAttr (/* IsImplicit=*/ true ));
You can’t perform that action at this time.
0 commit comments