You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Distributed/distributed_missing_import.swift
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,7 @@
5
5
actorSomeActor{}
6
6
7
7
distributedactorMissingImportDistributedActor_0{}
8
-
// expected-error@-1{{distributed actor 'MissingImportDistributedActor_0' requires explicit import of Distributed module}}
8
+
// expected-error@-1{{distributed actor 'MissingImportDistributedActor_0' declared without importing module 'Distributed'}}{{5:1-1=import Distributed\n}}
9
9
10
10
lett:DistributedActorSystem // expected-error{{cannot find type 'DistributedActorSystem' in scope}}
11
-
leta:ActorAddress // expected-error{{cannot find type 'ActorAddress' in scope}}
import Swift // just any import so we can anchor the fixit onto it
6
+
7
+
actorSomeActor{}
8
+
9
+
distributedactorMissingImportDistributedActor_0{}
10
+
// expected-error@-1{{distributed actor 'MissingImportDistributedActor_0' declared without importing module 'Distributed'}}{{6:1-1=import Distributed\n}}
11
+
12
+
lett:DistributedActorSystem // expected-error{{cannot find type 'DistributedActorSystem' in scope}}
0 commit comments