@@ -456,7 +456,6 @@ static ValueDecl *deriveDistributedActor_id(DerivedConformance &derived) {
456456 PatternBindingDecl *pbDecl;
457457 std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
458458 DerivedConformance::SynthesizedIntroducer::Let, C.Id_id , propertyType,
459- propertyType,
460459 /* isStatic=*/ false , /* isFinal=*/ true );
461460
462461 // mark as nonisolated, allowing access to it from everywhere
@@ -488,8 +487,7 @@ static ValueDecl *deriveDistributedActor_actorSystem(
488487 PatternBindingDecl *pbDecl;
489488 std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
490489 DerivedConformance::SynthesizedIntroducer::Let, C.Id_actorSystem ,
491- propertyType, propertyType,
492- /* isStatic=*/ false , /* isFinal=*/ true );
490+ propertyType, /* isStatic=*/ false , /* isFinal=*/ true );
493491
494492 // mark as nonisolated, allowing access to it from everywhere
495493 propDecl->getAttrs ().add (
@@ -791,8 +789,7 @@ static ValueDecl *deriveDistributedActor_unownedExecutor(DerivedConformance &der
791789
792790 auto propertyPair = derived.declareDerivedProperty (
793791 DerivedConformance::SynthesizedIntroducer::Var, ctx.Id_unownedExecutor ,
794- executorType, executorType,
795- /* static*/ false , /* final*/ false );
792+ executorType, /* static*/ false , /* final*/ false );
796793 auto property = propertyPair.first ;
797794 property->setSynthesized (true );
798795 property->getAttrs ().add (new (ctx) SemanticsAttr (SEMANTICS_DEFAULT_ACTOR,
@@ -815,8 +812,7 @@ static ValueDecl *deriveDistributedActor_unownedExecutor(DerivedConformance &der
815812 AvailabilityInference::applyInferredAvailableAttrs (
816813 property, asAvailableAs, ctx);
817814
818- auto getter =
819- derived.addGetterToReadOnlyDerivedProperty (property, executorType);
815+ auto getter = derived.addGetterToReadOnlyDerivedProperty (property);
820816 getter->setBodySynthesizer (deriveBodyDistributedActor_unownedExecutor);
821817
822818 // IMPORTANT: MUST BE AFTER [id, actorSystem].
0 commit comments