@@ -38,14 +38,12 @@ distributed actor D2 {
38
38
// expected-error@-1{{actor 'D2' has no initializers}}
39
39
let actorSystem : String
40
40
// 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}}
43
42
}
44
43
45
44
distributed actor D3 {
46
45
var id : Int { 0 }
47
46
// 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'}}
49
47
}
50
48
51
49
struct OtherActorIdentity : Sendable , Hashable , Codable { }
@@ -55,12 +53,10 @@ distributed actor D4 {
55
53
56
54
let actorSystem : String
57
55
// 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}}
60
57
let id : OtherActorIdentity
61
58
// 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}}
64
60
}
65
61
66
62
protocol P1 : DistributedActor {
0 commit comments