@@ -112,12 +112,10 @@ static ValueDecl *deriveDistributedActor_id(DerivedConformance &derived) {
112112 VarDecl *propDecl;
113113 PatternBindingDecl *pbDecl;
114114 std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
115- C.Id_id ,
116- propertyType, propertyType,
115+ DerivedConformance::SynthesizedIntroducer::Let, C.Id_id , propertyType ,
116+ propertyType,
117117 /* isStatic=*/ false , /* isFinal=*/ true );
118118
119- propDecl->setIntroducer (VarDecl::Introducer::Let);
120-
121119 // mark as nonisolated, allowing access to it from everywhere
122120 propDecl->getAttrs ().add (
123121 new (C) NonisolatedAttr (/* IsImplicit=*/ true ));
@@ -143,12 +141,10 @@ static ValueDecl *deriveDistributedActor_actorSystem(
143141 VarDecl *propDecl;
144142 PatternBindingDecl *pbDecl;
145143 std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
146- C.Id_actorSystem ,
144+ DerivedConformance::SynthesizedIntroducer::Let, C.Id_actorSystem ,
147145 propertyType, propertyType,
148146 /* isStatic=*/ false , /* isFinal=*/ true );
149147
150- propDecl->setIntroducer (VarDecl::Introducer::Let);
151-
152148 // mark as nonisolated, allowing access to it from everywhere
153149 propDecl->getAttrs ().add (
154150 new (C) NonisolatedAttr (/* IsImplicit=*/ true ));
0 commit comments