Skip to content

Fix a Couple Darwin Build Breaks on Xcode 10 #1705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 10, 2018
Merged

Fix a Couple Darwin Build Breaks on Xcode 10 #1705

merged 2 commits into from
Oct 10, 2018

Conversation

Kaiede
Copy link
Contributor

@Kaiede Kaiede commented Sep 24, 2018

A couple build break fixes for 10.14 + Xcode 10. Doesn't get Darwin completely building at master, but really helps clear out the noise.

  • NSString(_:) is internal, use NSString(string:) instead. Probably a better test as well.
  • Clean up the cast for NSError.

Without this, the tests don't build on Darwin w/4.2:
With Swift 4.2 on Darwin, this test seems to fail because it uses an internal constructor. It should use the public API for it instead.
@spevans
Copy link
Contributor

spevans commented Sep 24, 2018

@swift-ci test

@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit 92ff281 into swiftlang:master Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants