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 {
28
28
@available ( SwiftStdlib 5 . 5 , * )
29
29
distributed actor D4 {
30
30
// expected-error@-1{{actor 'D4' has no initializers}}
31
- // expected-error@-2{{type 'D4' does not conform to protocol 'DistributedActor'}}
32
31
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'}}
34
33
// expected-error@-2{{property 'actorTransport' cannot be defined explicitly, as it conflicts with distributed actor synthesized stored property}}
35
34
// expected-note@-3{{stored property 'actorTransport' without initial value prevents synthesized initializers}}
36
35
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 }}
38
37
// 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 }}
41
40
}
42
41
43
42
// ==== Tests ------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments