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
// Ensure that substitutions work properly when inheriting.
150
+
classSubclass3<V>:Container<(U,V)>.Superclass2{
151
+
func method(){} // expected-note{{only asynchronous methods can be used outside the actor instance}}
152
+
153
+
@OtherGlobalActorfunc testMethod(){
154
+
method() // expected-error{{instance method 'method()' isolated to global actor 'GenericGlobalActor<[(U, V)]>' can not be referenced from different global actor 'OtherGlobalActor'}}
0 commit comments