-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Autodiff] Derivative Registration for the Get and Set Accessors #32614
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
Conversation
@swift-ci please smoke test |
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When syntax definitions are changed, I believe apple/swift-syntax
needs to be updated with newly generated syntax files. This is necessary to pass --swiftsyntax-verify-generated-files
.
Here's an example PR. I think you can regenerate swift-syntax
files locally with utils/build-script --infer --swiftsyntax
.
Build failed |
Co-authored-by: Dan Zheng <[email protected]>
Co-authored-by: Dan Zheng <[email protected]>
Re-apply `git clang-format`.
Before this lands, can you be sure to re-base and clean up the git history by smooshing commits that don't stand on their own. Thanks! |
…accessor is not found on functions resolved.
…ple/swift into autodiff-accessor-derivatives
@swift-ci please smoke test |
@swift-ci please test |
Build failed |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@ematejska: would you like to preemptively squash commits? Or you could "Squash and merge" with a short commit description.
Co-authored-by: Dan Zheng <[email protected]>
@swift-ci please smoke test |
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test os x platform |
@swift-ci please smoke test os x platform |
I'll do the Squash and merge. |
I'll try to do this today. |
Build failed |
Please test with: @swift-ci please test os x platform |
This implements the support for
@derivative
derivative registration for the get and set accessors (https://bugs.swift.org/browse/TF-1193.). The class set accessor is not yet supported.Done together with @dan-zheng