Skip to content

[AutoDiff] State explicit conditional conformances in DifferentiationUnittest. #38185

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
Jul 1, 2021

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Jun 30, 2021

This fixes verification of emitted swiftinterface files.

error: conditional conformance of type 'Tracked<T>' to protocol 'SignedNumeric' does not imply conformance to inherited protocol 'Numeric'
extension Tracked : Swift.SignedNumeric where T : Swift.SignedNumeric, T == T.Magnitude {
^

Resolves rdar://77869183.

…Unittest.

This fixes verification of emitted swiftinterface files.

```console
error: conditional conformance of type 'Tracked<T>' to protocol 'SignedNumeric' does not imply conformance to inherited protocol 'Numeric'
extension Tracked : Swift.SignedNumeric where T : Swift.SignedNumeric, T == T.Magnitude {
^
```

Resolves rdar://77869183.
@rxwei rxwei requested a review from xymus June 30, 2021 23:43
@rxwei
Copy link
Contributor Author

rxwei commented Jun 30, 2021

@swift-ci please test

@rxwei rxwei merged commit 16f45ea into swiftlang:main Jul 1, 2021
@rxwei rxwei deleted the 77869183 branch July 1, 2021 05:46
@xymus
Copy link
Contributor

xymus commented Jul 1, 2021

Thank you!

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