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
Copy file name to clipboardExpand all lines: test/Distributed/distributed_actor_isolation.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -204,14 +204,14 @@ func test_params(
204
204
distributedactorDijonMustard{
205
205
nonisolatedinit(system:FakeActorSystem){} // expected-warning {{'nonisolated' on an actor's synchronous initializer is invalid; this is an error in Swift 6}} {{3-15=}}
206
206
207
-
convenienceinit(conv:FakeActorSystem){
207
+
convenienceinit(conv:FakeActorSystem){ // expected-warning {{initializers in actors are not marked with 'convenience'; this is an error in Swift 6}}{{3-15=}}
208
208
self.init(system: conv)
209
209
self.f() // expected-error {{actor-isolated instance method 'f()' can not be referenced from a non-isolated context}}
nonisolatedconvenienceinit(conv2:FakeActorSystem){ // expected-warning {{'nonisolated' on an actor's synchronous initializer is invalid; this is an error in Swift 6}} {{3-15=}}
214
+
nonisolatedinit(conv2:FakeActorSystem){ // expected-warning {{'nonisolated' on an actor's synchronous initializer is invalid; this is an error in Swift 6}} {{3-15=}}
0 commit comments