File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,11 @@ import _Distributed
99distributed actor DA {
1010 // expected-error@-1{{distributed actor 'DA' does not declare ActorSystem it can be used with.}}
1111
12- // expected-note@-3{{you can provide a module-wide default actor system by declaring:}}
12+ // Since synthesis would have failed due to the missing ActorSystem:
13+ // expected-error@-4{{type 'DA' does not conform to protocol 'Encodable'}}
14+ // expected-error@-5{{type 'DA' does not conform to protocol 'Decodable'}}
15+
16+ // expected-note@-7{{you can provide a module-wide default actor system by declaring:}}
1317
1418 // Note to add the typealias is diagnosed on the protocol:
1519 // _Distributed.DistributedActor:3:20: note: diagnostic produced elsewhere: protocol requires nested type 'ActorSystem'; do you want to add it?
You can’t perform that action at this time.
0 commit comments