Closed Yasumoto closed 7 years ago
This might need a bit more testing to make sure it works as expected (and actually fixes the issue I'm seeing). I'll be back with some better examples + tests.
Yep, swift test
passes on 3.0.2
and when I update to
cat ./.swift-version
3.1-DEVELOPMENT-SNAPSHOT-2017-03-16-a
on Ubuntu 14.04 LTS.
@Yasumoto Very good. Could you try simplifying it to
#if !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !swift(>=3.1)
typealias Process = Task
#endif
I think that should do the same thing.
Thank you very much for the fix. I will update Travis to automatically test both Swift 3.0.2 and Swift 3.1 beta from now on.
Looks like this may be fallout from https://bugs.swift.org/browse/SR-3279