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/actor_protocols.swift
+4-10Lines changed: 4 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -43,12 +43,10 @@ distributed actor DA: DistributedActor {
43
43
typealiasActorSystem=FakeActorSystem
44
44
}
45
45
46
-
// FIXME: Ideally, we should only emit the tailored conformance error.
47
-
// expected-error@+1 {{type 'A2' does not conform to protocol 'DistributedActor'}}
46
+
// FIXME(distributed): error reporting is a bit whacky here; needs cleanup
47
+
// expected-error@+2{{actor type 'A2' cannot conform to the 'DistributedActor' protocol. Isolation rules of these actor types are not interchangeable.}}
48
+
// expected-error@+1{{actor type 'A2' cannot conform to the 'DistributedActor' protocol. Isolation rules of these actor types are not interchangeable.}}
48
49
actorA2:DistributedActor{
49
-
// expected-error@-1{{non-distributed actor type 'A2' cannot conform to the 'DistributedActor' protocol}} {{1-1=distributed }}
50
-
// expected-error@-2{{'DistributedActor' requires the types 'ObjectIdentifier' and 'FakeActorSystem.ActorID' (aka 'ActorAddress') be equivalent}}
0 commit comments