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
apply [caller_isolation=nonisolated] [callee_isolation=global_actor] %transferNonSendableKlass(%value) : $@convention(thin) @async (@guaranteed NonSendableKlass) -> () // expected-warning {{transferring value of non-Sendable type 'NonSendableKlass' from nonisolated context to global actor '<null>'-isolated context; later accesses could race}}
1555
+
1556
+
%9 = alloc_stack $Builtin.UnsafeValueBuffer
1557
+
begin_unpaired_access [read] [dynamic] [no_nested_conflict] %a : $*NonSendableKlass, %9 : $*Builtin.UnsafeValueBuffer // expected-note {{access here could race}}
1558
+
destroy_value %value : $NonSendableKlass
1559
+
dealloc_stack %9 : $*Builtin.UnsafeValueBuffer
1560
+
destroy_addr %a : $*NonSendableKlass
1561
+
dealloc_stack %a : $*NonSendableKlass
1562
+
1563
+
%9999 = tuple ()
1564
+
return %9999 : $()
1565
+
}
1566
+
1567
+
sil [ossa] @end_unpaired_access_test : $@async @convention(thin) () -> () {
0 commit comments