Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion stdlib/public/Concurrency/CooperativeExecutor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ extension CooperativeExecutor: SchedulingExecutor {
suspendingWaitQueue.enqueue(job, after: duration)
} else {
fatalError("Sorry, cannot schedule on an unknown clock")
return
}
}

Expand Down
1 change: 0 additions & 1 deletion stdlib/public/Concurrency/DispatchExecutor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ fileprivate func _dispatchEnqueue<C: Clock, E: Executor>(
guard let (clockID, seconds, nanoseconds) = timestamp(for: instant,
clock: clock) else {
fatalError("Sorry, cannot schedule on an unknown clock")
return
}

let tolSec: Int64, tolNanosec: Int64
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/Executor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ extension Executor {
@available(StdlibDeploymentTarget 6.3, *)
internal var isMainExecutor: Bool {
#if os(WASI) || !$Embedded
return self is MainExecutor
return self is any MainExecutor
#else
return false
#endif
Expand Down