Skip to content
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

Make AdditiveArithmetic.zero @_transparent #25658

Merged

Conversation

t-ae
Copy link
Contributor

@t-ae t-ae commented Jun 21, 2019

Make default implementation of AdditiveArithmetic.zero @_transparent.
Seems it is simply overlooked.

@harlanhaskins
Copy link
Collaborator

Thanks for your contribution @t-ae! I'm gonna add @stephentyrone as a reviewer and kick off CI testing.

@swift-ci please smoke test

@stephentyrone
Copy link
Member

stephentyrone commented Jun 26, 2019

LGTM. @rxwei, any concerns for you? (I'm going to go ahead and merge this, just want to give you a heads up).

@stephentyrone stephentyrone merged commit f96cbb8 into apple:master Jun 26, 2019
@rxwei
Copy link
Member

rxwei commented Jun 26, 2019

LGTM. Thanks for the heads up!

stephentyrone pushed a commit to stephentyrone/swift that referenced this pull request Jun 26, 2019
stephentyrone added a commit that referenced this pull request Jun 27, 2019
… 5.1 (#25799)

* Make AdditiveArithmetic.zero @_transparent (#25658)

* FloatingPoint.radix should be inlinable.

* Switch transparent to inlinable+inline(__always).
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.

None yet

4 participants