Skip to content

[stdlib] Align availability of a Float16 initializer with its type #33919

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 1 commit into from
Sep 11, 2020

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Sep 11, 2020

The constructor init?(text: Substring) was more available than its context, the extension to Float16 is marked as unavailable on macOS and macCatalyst. The compiler may report this as an error in the future. This was reported by the changes in #33855.

The constructor `init?(text: Substring)` was more available than its
type Float16 for macOS and macCatalyst where the type is explicitly
unavailable. The compiler may report this as an error in the future.
@xymus xymus requested a review from tbkka September 11, 2020 20:34
@xymus
Copy link
Contributor Author

xymus commented Sep 11, 2020

@swift-ci Please smoke test

Copy link
Contributor

@tbkka tbkka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xymus xymus merged commit aef50ab into swiftlang:master Sep 11, 2020
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.

2 participants