Skip to content

Commit 04cd00e

Browse files
committed
Update distributed tests for diagnostic change
1 parent 5154341 commit 04cd00e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Distributed/distributed_protocol_isolation.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ protocol DistProtocol: DistributedActor {
1818
// FIXME(distributed): avoid issuing these warnings, these originate from the call on the DistProtocol where we marked this func as dist isolated,
1919
func local() -> String
2020
// (the note appears a few times, because we misuse the call many times)
21-
// expected-note@-2{{calls to instance method 'local()' from outside of its actor context are implicitly asynchronous}}
22-
// expected-note@-3{{calls to instance method 'local()' from outside of its actor context are implicitly asynchronous}}
23-
// expected-note@-4{{calls to instance method 'local()' from outside of its actor context are implicitly asynchronous}}
21+
// expected-note@-2{{distributed actor-isolated instance method 'local()' declared here}}
22+
// expected-note@-3{{distributed actor-isolated instance method 'local()' declared here}}
23+
// expected-note@-4{{distributed actor-isolated instance method 'local()' declared here}}
2424

2525
distributed func dist() -> String
2626
distributed func dist(string: String) -> String
@@ -202,4 +202,4 @@ extension TacoPreparation {
202202
// expected-error@-1{{'distributed' function can only be declared within 'distributed actor'}}
203203
}
204204

205-
distributed actor TacoWorker: DistributedTacoMaker {} // implemented in extensions
205+
distributed actor TacoWorker: DistributedTacoMaker {} // implemented in extensions

0 commit comments

Comments
 (0)