You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error @+2 {{type 'Scalar' constrained to non-protocol, non-class type 'Float'}}
568
-
// expected-error @+1 {{can only differentiate with respect to parameters that conform to 'Differentiable', but 'Scalar' does not conform to 'Differentiable'}}
567
+
// expected-error @+3 {{type 'Scalar' constrained to non-protocol, non-class type 'Float'}}
568
+
// expected-error @+2 {{can only differentiate with respect to parameters that conform to 'Differentiable', but 'Scalar' does not conform to 'Differentiable'}}
569
+
// expected-note @+1 {{use 'Scalar == Float' to require 'Scalar' to be 'Float'}}
0 commit comments