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
@MainActorfunc beets(){onions()} // expected-error{{call to global actor 'SomeGlobalActor'-isolated global function 'onions()' in a synchronous main actor-isolated context}}
339
+
// expected-note@-1{{calls to global function 'beets()' from outside of its actor context are implicitly asynchronous}}
print(SomeClassWithInits.shared) // expected-error{{static property 'shared' isolated to global actor 'MainActor' can not be referenced from this synchronous context}}
702
+
beets() //expected-error{{call to main actor-isolated global function 'beets()' in a synchronous nonisolated context}}
0 commit comments