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
// We used to crash while computing the isolation of the ref_element_addr
1965
+
// here. Make sure we do not crash.
1966
+
func testGetIsolationInfoOfField()async{
1967
+
awaittransferToMain(ns) // expected-tns-warning {{sending 'self.ns' risks causing data races}}
1968
+
// expected-tns-note @-1 {{sending task-isolated 'self.ns' to main actor-isolated global function 'transferToMain' risks causing data races between main actor-isolated and task-isolated uses}}
0 commit comments