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
vartext:[String]=[] // expected-note 9{{mutable state is only available within the actor instance}}
33
+
vartext:[String]=[] // expected-note 10{{mutable state is only available within the actor instance}}
33
34
34
35
classfunc synchronousClass(){}
35
36
staticfunc synchronousStatic(){}
36
37
37
-
func synchronous()->String{ text.first ??"nothing"} // expected-note 20{{calls to instance method 'synchronous()' from outside of its actor context are implicitly asynchronous}}
38
+
func synchronous()->String{ text.first ??"nothing"} // expected-note 21{{calls to instance method 'synchronous()' from outside of its actor context are implicitly asynchronous}}
0 commit comments