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
asynclety=useValue(transferToMainInt(x)+ transferToMainInt(x)) // expected-warning {{sending 'x' risks causing data races}}
292
+
// expected-note @-1 {{sending 'x' to main actor-isolated global function 'transferToMainInt' risks causing data races between main actor-isolated and local nonisolated uses}}
293
+
// expected-note @-2:67 {{access can happen concurrently}}
// expected-warning @-1 {{sending 'x' risks causing data races}}
294
305
// expected-note @-2 {{sending 'x' to main actor-isolated global function 'transferToMainInt' risks causing data races between main actor-isolated and local nonisolated uses}}
295
-
// expected-note @-3:49 {{access can happen concurrently}}
306
+
// expected-note @-3:69 {{access can happen concurrently}}
0 commit comments