Skip to content

[AutoDiff] Add SR-12526 negative test. #30826

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
Apr 6, 2020
Merged

Conversation

dan-zheng
Copy link
Contributor

Lift temporary cross-file derivative registration restriction.

@derivative attribute type-checking simplications coming soon: TF-1099.
Original function and derivative function must have same access level, with one
exception: public original functions may have internal @usableFromInline
derivatives.

WIP: #29987


Add negative test for SR-12526: @derivative attribute cross-module
deserialization crash.

This blocks TF-1226: upstreaming derivatives in the _Differentiation module.

Lift temporary cross-file derivative registration restriction.

`@derivative` attribute type-checking simplications coming soon: TF-1099.
Original function and derivative function must have same access level, with one
exception: public original functions may have internal `@usableFromInline`
derivatives.
Add negative test for SR-12526: `@derivative` attribute cross-module
deserialization crash.
@dan-zheng dan-zheng requested review from rxwei and marcrasi April 6, 2020 09:39
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test

@dan-zheng dan-zheng merged commit 4265835 into swiftlang:master Apr 6, 2020
@dan-zheng dan-zheng deleted the SR-12526 branch April 6, 2020 11:55
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