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/Concurrency/concurrent_value_checking.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ protocol AsyncProto {
223
223
}
224
224
225
225
extensionA1:AsyncProto{
226
-
func asyncMethod(_:NotConcurrent)async{} // expected-warning{{non-sendable type 'NotConcurrent' in parameter of actor-isolated instance method 'asyncMethod' satisfying protocol requirement cannot cross actor boundary}}
226
+
func asyncMethod(_:NotConcurrent)async{} // expected-warning{{non-sendable type 'NotConcurrent' in parameter of the protocol requirement satisfied by actor-isolated instance method 'asyncMethod' cannot cross actor boundary}}
227
227
}
228
228
229
229
protocolMainActorProto{
@@ -232,7 +232,7 @@ protocol MainActorProto {
232
232
233
233
classSomeClass:MainActorProto{
234
234
@SomeGlobalActor
235
-
func asyncMainMethod(_:NotConcurrent)async{} // expected-warning{{non-sendable type 'NotConcurrent' in parameter of global actor 'SomeGlobalActor'-isolated instance method 'asyncMainMethod' satisfying protocol requirement cannot cross actor boundary}}
235
+
func asyncMainMethod(_:NotConcurrent)async{} // expected-warning{{non-sendable type 'NotConcurrent' in parameter of the protocol requirement satisfied by global actor 'SomeGlobalActor'-isolated instance method 'asyncMainMethod' cannot cross actor boundary}}
0 commit comments