File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,9 @@ public struct Job: Sendable {
153
153
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
154
154
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
155
155
if ( id > 0 ) {
156
- return " \( Self . self ) (id: \( id) ) "
156
+ return " Job (id: \( id) ) "
157
157
} else {
158
- return " \( Self . self ) (id: nil) "
158
+ return " Job (id: nil)"
159
159
}
160
160
}
161
161
}
@@ -221,9 +221,9 @@ public struct ExecutorJob: Sendable {
221
221
/// and it appearing as 0 for _different_ jobs may lead to misunderstanding it as
222
222
/// being "the same 0 id job", we specifically print 0 (id not set) as nil.
223
223
if ( id > 0 ) {
224
- return " \( Self . self ) (id: \( id) ) "
224
+ return " ExecutorJob (id: \( id) ) "
225
225
} else {
226
- return " \( Self . self ) (id: nil) "
226
+ return " ExecutorJob (id: nil)"
227
227
}
228
228
}
229
229
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ internal final class DistributedRemoteActorReferenceExecutor: SerialExecutor {
26
26
@inlinable
27
27
public func enqueue( _ job: __owned ExecutorJob) {
28
28
let jobDescription = job. description
29
- fatalError ( " Attempted to enqueue \( Job . self ) ( \( jobDescription) ) on executor of remote distributed actor reference! " )
29
+ fatalError ( " Attempted to enqueue ExecutorJob ( \( jobDescription) ) on executor of remote distributed actor reference! " )
30
30
}
31
31
32
32
public func asUnownedSerialExecutor( ) -> UnownedSerialExecutor {
You can’t perform that action at this time.
0 commit comments