swift
c1832d8a - [Autodiff] Add error messages for differentiation initiated by SILDifferentiableAttr. (#22226)

Commit
7 years ago
[Autodiff] Add error messages for differentiation initiated by SILDifferentiableAttr. (#22226) This should be a resolution for: SR-9788 Here is an example of the error that is added (fallback is no-highlight): diff_proto_problem.swift:29:2: error: function is not differentiable @differentiable func foo(x: Float) -> Float { ~^~~~~~~~~~~~~~
Author
Parents
Loading