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
@@ -187,14 +187,14 @@ func test_params(
187
187
distributedactorDijonMustard{
188
188
nonisolatedinit(system:FakeActorSystem){} // expected-warning {{'nonisolated' on an actor's synchronous initializer is invalid; this is an error in Swift 6}} {{3-15=}}
189
189
190
-
convenienceinit(conv:FakeActorSystem){
190
+
convenienceinit(conv:FakeActorSystem){ // expected-warning {{initializers in actors are not marked with 'convenience'; this is an error in Swift 6}}{{3-15=}}
191
191
self.init(system: conv)
192
192
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=}}
197
+
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