Skip to content

[Sema] Always create memberwise init when deriving AdditiveArithmetic. #25495

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
Jun 15, 2019

Conversation

dan-zheng
Copy link
Contributor

Previously, during AdditiveArithmetic derived conformances, memberwise
initializers were synthesized only when synthesizing static var zero.
This led to a crash for types that specified static var zero but not
other requirements.

Resolves TF-579.

Previously, during `AdditiveArithmetic` derived conformances, memberwise
initializers were synthesized only when synthesizing `static var zero`.
This led to a crash for types that specified `static var zero` but not
other requirements.

Resolves TF-579.
@dan-zheng dan-zheng added the tensorflow This is for "tensorflow" branch PRs. label Jun 15, 2019
@dan-zheng dan-zheng requested a review from rxwei June 15, 2019 00:09
Co-Authored-By: Richard Wei <[email protected]>
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test tensorflow

@rxwei rxwei merged commit 5db4a88 into swiftlang:tensorflow Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tensorflow This is for "tensorflow" branch PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants