@@ -38,14 +38,12 @@ distributed actor D2 {
3838 // expected-error@-1{{actor 'D2' has no initializers}}
3939 let actorSystem : String
4040 // expected-error@-1{{property 'actorSystem' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
41- // expected-error@-2{{invalid redeclaration of synthesized implementation for protocol requirement 'actorSystem'}}
42- // expected-note@-3{{stored property 'actorSystem' without initial value prevents synthesized initializers}}
41+ // expected-note@-2{{stored property 'actorSystem' without initial value prevents synthesized initializers}}
4342}
4443
4544distributed actor D3 {
4645 var id : Int { 0 }
4746 // expected-error@-1{{property 'id' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
48- // expected-error@-2{{invalid redeclaration of synthesized implementation for protocol requirement 'id'}}
4947}
5048
5149struct OtherActorIdentity : Sendable , Hashable , Codable { }
@@ -55,12 +53,10 @@ distributed actor D4 {
5553
5654 let actorSystem : String
5755 // expected-error@-1{{property 'actorSystem' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
58- // expected-error@-2{{invalid redeclaration of synthesized implementation for protocol requirement 'actorSystem'}}
59- // expected-note@-3{{stored property 'actorSystem' without initial value prevents synthesized initializers}}
56+ // expected-note@-2{{stored property 'actorSystem' without initial value prevents synthesized initializers}}
6057 let id : OtherActorIdentity
6158 // expected-error@-1{{property 'id' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
62- // expected-error@-2{{invalid redeclaration of synthesized implementation for protocol requirement 'id'}}
63- // expected-note@-3{{stored property 'id' without initial value prevents synthesized initializers}}
59+ // expected-note@-2{{stored property 'id' without initial value prevents synthesized initializers}}
6460}
6561
6662protocol P1 : DistributedActor {
0 commit comments