mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Distributed] Move to ActorIdentity protocol (#38362)
This commit is contained in:
committed by
GitHub
parent
cf503b91b7
commit
716a0255c0
@@ -77,7 +77,7 @@ func outside_good_generic<DP: DistProtocol>(dp: DP) async throws {
|
||||
}
|
||||
|
||||
@available(SwiftStdlib 5.5, *)
|
||||
func outside_good_ext(dp: DistProtocol) async throws {
|
||||
func outside_good_ext<DP: DistProtocol>(dp: DP) async throws {
|
||||
_ = try await dp.dist() // implicit async throws
|
||||
_ = try await dp.dist(string: "") // implicit async throws
|
||||
_ = try await dp.distAsync() // implicit throws
|
||||
|
||||
Reference in New Issue
Block a user