Skip to content

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

Development

Successfully merging this pull request may close these issues.

Void-returning @differentiable function crashes compiler [SR-15818] [AutoDiff] Compiler crash for inout @noDerivative closure parameter

2 participants