Skip to content

Diagnose differentiable functions returning Void w/o inout arguments. #63080

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
Jan 18, 2023

Conversation

asl
Copy link
Contributor

@asl asl commented Jan 18, 2023

Such functions are not differentiable and therefore should be rejected. Fixes #62923, fixes #58095

Such functions are not differentiable and therefore should be rejected.
Fixes swiftlang#62923
@asl asl requested a review from rxwei January 18, 2023 15:49
@asl
Copy link
Contributor Author

asl commented Jan 18, 2023

Tagging @BradLarson

@asl asl requested a review from dan-zheng January 18, 2023 15:50
@asl
Copy link
Contributor Author

asl commented Jan 18, 2023

@swift-ci please test

@asl
Copy link
Contributor Author

asl commented Jan 18, 2023

Fixes #58095 as well

@asl asl merged commit 0763e4b into swiftlang:main Jan 18, 2023
@asl asl deleted the 62923-fix branch January 18, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants