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

[SR-11849] [AutoDiff] Disallow derivative registration in local scopes #54255

Closed
rxwei opened this issue Nov 24, 2019 · 1 comment
Closed

[SR-11849] [AutoDiff] Disallow derivative registration in local scopes #54255

rxwei opened this issue Nov 24, 2019 · 1 comment
Assignees
Labels
compiler The Swift compiler in itself task

Comments

@rxwei
Copy link
Member

rxwei commented Nov 24, 2019

Previous ID SR-11849
Radar None
Original Reporter @rxwei
Type Task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Task
Assignee @rxwei
Priority Medium

md5: b8a3d05bd9f222a78cb5377bdc2beea4

is blocked by:

  • SR-11847 [AutoDiff] Update differentiableFunction(from:) to use differentiable function constructor builtins

relates to:

  • TF-881 Differentiation crash related to local variable capture

Issue Description:

Non-top-level derivative registration has various issues regarding captured variables. We should disallow it for now.

@rxwei
Copy link
Member Author

rxwei commented Nov 26, 2019

#28483

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself task
Projects
None yet
Development

No branches or pull requests

1 participant