Skip to content

Conversation

normanmaurer
Copy link
Member

Motivation:

At some point we needed to check for #available(OSX 10.12, *) which is not true anymore as we use our own Thread impl.

Modifications:

Remove #available(OSX 10.12, *) check

Result:

Remove incorrect and not needed check.

Motivation:

At some point we needed to check for #available(OSX 10.12, *) which is not true anymore as we use our own Thread impl.

Modifications:

Remove #available(OSX 10.12, *) check

Result:

Remove incorrect and not needed check.
@Lukasa
Copy link
Contributor

Lukasa commented Mar 26, 2018

@normanmaurer Did you validate this against an older target release?

@normanmaurer
Copy link
Member Author

@Lukasa no I did not (I even don't have such an old version here) but we only had the check in place because we used the init block that was added in 10.12:
https://developer.apple.com/documentation/foundation/thread/2088561-init

let thread = Thread {

I remember talking with @weissi about it when we added the code ;)

@Lukasa
Copy link
Contributor

Lukasa commented Mar 26, 2018

Ok cool, I tested and this appears to work fine back to 10.10.

@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Mar 26, 2018
@Lukasa Lukasa added this to the 1.4.0 milestone Mar 26, 2018
@Lukasa Lukasa merged commit 6cf8ca4 into apple:master Mar 26, 2018
@normanmaurer normanmaurer deleted the remove_available_check branch April 23, 2018 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants