[SR-12699] Improve diagnostic: "member is differentiable only with respect to a smaller subset of arguments" #55142
Labels
AutoDiff
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
Additional Detail from JIRA
md5: 1a100cb5a0830ad23c99b5ef9f680b91
Issue Description:
Example diagnostic:
The diagnostic message makes sense but is not very helpful or actionable for users. We could improve that by:
Replacing "member" with the name of the referenced member, like
Tensor.annotate
here.Mention the exact subsets of arguments that the member is differentiable with respect to.
The text was updated successfully, but these errors were encountered: