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
9
9
distributed actor DA {
10
10
// expected-error@-1{{distributed actor 'DA' does not declare ActorSystem it can be used with.}}
11
11
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:}}
13
17
14
18
// Note to add the typealias is diagnosed on the protocol:
15
19
// _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