Skip to content

Commit fab0463

Browse files
committed
adjust test since other features were merged since
1 parent b86bb0d commit fab0463

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/Distributed/distributed_actor_system_missing.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import _Distributed
99
distributed 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?

0 commit comments

Comments
 (0)