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_actor_transfernonsendable.swift
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,19 @@ distributed actor MyDistributedActor {
65
65
// expected-note @-1 {{'self'-isolated 'x' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses}}
66
66
}
67
67
}
68
+
69
+
70
+
func doSomething()async{}
71
+
72
+
// Make sure that we consider asLocalActor's result to be the same actor as
0 commit comments