@@ -456,7 +456,6 @@ static ValueDecl *deriveDistributedActor_id(DerivedConformance &derived) {
456
456
PatternBindingDecl *pbDecl;
457
457
std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
458
458
DerivedConformance::SynthesizedIntroducer::Let, C.Id_id , propertyType,
459
- propertyType,
460
459
/* isStatic=*/ false , /* isFinal=*/ true );
461
460
462
461
// mark as nonisolated, allowing access to it from everywhere
@@ -488,8 +487,7 @@ static ValueDecl *deriveDistributedActor_actorSystem(
488
487
PatternBindingDecl *pbDecl;
489
488
std::tie (propDecl, pbDecl) = derived.declareDerivedProperty (
490
489
DerivedConformance::SynthesizedIntroducer::Let, C.Id_actorSystem ,
491
- propertyType, propertyType,
492
- /* isStatic=*/ false , /* isFinal=*/ true );
490
+ propertyType, /* isStatic=*/ false , /* isFinal=*/ true );
493
491
494
492
// mark as nonisolated, allowing access to it from everywhere
495
493
propDecl->getAttrs ().add (
@@ -791,8 +789,7 @@ static ValueDecl *deriveDistributedActor_unownedExecutor(DerivedConformance &der
791
789
792
790
auto propertyPair = derived.declareDerivedProperty (
793
791
DerivedConformance::SynthesizedIntroducer::Var, ctx.Id_unownedExecutor ,
794
- executorType, executorType,
795
- /* static*/ false , /* final*/ false );
792
+ executorType, /* static*/ false , /* final*/ false );
796
793
auto property = propertyPair.first ;
797
794
property->setSynthesized (true );
798
795
property->getAttrs ().add (new (ctx) SemanticsAttr (SEMANTICS_DEFAULT_ACTOR,
@@ -815,8 +812,7 @@ static ValueDecl *deriveDistributedActor_unownedExecutor(DerivedConformance &der
815
812
AvailabilityInference::applyInferredAvailableAttrs (
816
813
property, asAvailableAs, ctx);
817
814
818
- auto getter =
819
- derived.addGetterToReadOnlyDerivedProperty (property, executorType);
815
+ auto getter = derived.addGetterToReadOnlyDerivedProperty (property);
820
816
getter->setBodySynthesizer (deriveBodyDistributedActor_unownedExecutor);
821
817
822
818
// IMPORTANT: MUST BE AFTER [id, actorSystem].
0 commit comments