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
overridefunc runsInForeground(_:@Sendable()->Void){} // expected-error {{method does not override any method from its superclass}}
139
-
overridefunc runnableInBackground()->()->Void{fatalError()} // expected-error {{method does not override any method from its superclass}}
138
+
overridefunc runsInForeground(_:@Sendable()->Void){} // expected-warning {{declaration 'runsInForeground' has a type with different sendability from any potential overrides; this is an error in Swift 6}}
139
+
overridefunc runnableInBackground()->()->Void{fatalError()} // expected-warning {{declaration 'runnableInBackground()' has a type with different sendability from any potential overrides; this is an error in Swift 6}}
0 commit comments