swiftlang / swift-corelibs-libdispatch

The libdispatch Project, (a.k.a. Grand Central Dispatch), for concurrency on multicore hardware
swift.org
Apache License 2.0
2.47k stars 460 forks source link

Linux: DispatchTimeInterval not Equatable #834

Open mickeyl opened 1 year ago

mickeyl commented 1 year ago
error: binary operator '!=' cannot be applied to two 'DispatchTimeInterval' operands
        guard interval != .never else { return nil }
              ~~~~~~~~ ^  ~~~~~~

This works fine on APPLE platforms.