mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Executors] Avoid using Job typealias and use the ExecutorJob explicitly
This commit is contained in:
@@ -24,7 +24,7 @@ internal final class DistributedRemoteActorReferenceExecutor: SerialExecutor {
|
||||
internal init() {}
|
||||
|
||||
@inlinable
|
||||
public func enqueue(_ job: __owned Job) {
|
||||
public func enqueue(_ job: __owned ExecutorJob) {
|
||||
let jobDescription = job.description
|
||||
fatalError("Attempted to enqueue \(ExecutorJob.self) (\(jobDescription)) on executor of remote distributed actor reference!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user