Attachment: Download
Additional Detail from JIRA
|
|
| Votes |
0 |
| Component/s |
|
| Labels |
Bug |
| Assignee |
None |
| Priority |
Medium |
md5: 74613197bdf79640c6596a3142e64468
Issue Description:
The following code produces a crash during compilation. It was caught while testing bug fixes brought by #41174 - a pull request which fixes the crash.
import _Differentiation
typealias MyType = @differentiable(reverse) (inout @noDerivative Float, Float) -> Void
@differentiable(reverse)
func myFunc(_ x: inout @noDerivative Float, _ y: Float) -> Void {}
print(myFunc as MyType)