[SR-13167] Parse: add parsing/syntax support for @differentiable(default, ...)
#55609
Labels
compiler
The Swift compiler in itself
@differentiable(default, ...)
#55609
Additional Detail from JIRA
md5: dc508f6543b2cdff61b1f36c59bd25d9
Parent-Task:
Issue Description:
See relevant section from the differentiable programming manifesto: https://github.com/apple/swift/blob/master/docs/DifferentiableProgramming.md#default-derivatives-and-transposes.
The optional "default" component should appear after the optional "linear" component and before the optional "wrt:" clause.
The following ~fully elaborated
@differentiable
attribute should parse and pass syntax testing (but doesn't type-check).The text was updated successfully, but these errors were encountered: