File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
test/decl/protocol/special Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,15 @@ distributed actor D3 {
2828@available ( SwiftStdlib 5 . 5 , * )
2929distributed actor D4 {
3030 // expected-error@-1{{actor 'D4' has no initializers}}
31- // expected-error@-2{{type 'D4' does not conform to protocol 'DistributedActor'}}
3231 let actorTransport : String
33- // expected-error@-1{{invalid redeclaration of synthesized property 'actorTransport'}}
32+ // expected-error@-1{{invalid redeclaration of synthesized implementation for protocol requirement 'actorTransport'}}
3433 // expected-error@-2{{property 'actorTransport' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
3534 // expected-note@-3{{stored property 'actorTransport' without initial value prevents synthesized initializers}}
3635 let id : AnyActorIdentity
37- // expected-error@-1{{invalid redeclaration of synthesized property 'id'}}
36+ // expected-error@-1{{actor-isolated property 'id' cannot be used to satisfy a protocol requirement }}
3837 // expected-error@-2{{property 'id' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
39- // expected-note @-3{{stored property 'id' without initial value prevents synthesized initializers }}
40- // expected-note@-4{{candidate exactly matches }}
38+ // expected-error @-3{{actor-isolated property 'id' cannot be used to satisfy a protocol requirement }}
39+ // expected-note@-4{{stored property 'id' without initial value prevents synthesized initializers }}
4140}
4241
4342// ==== Tests ------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments