File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1340,8 +1340,8 @@ cannot be included as differentiable variables (due to either lacking a
1340
1340
conformance to ` Differentiable ` or being a non-` class ` -bound ` let ` property) be
1341
1341
marked with ` @noDerivative ` . When a property is not included as a differentiable
1342
1342
variable and is not marked with ` @noDerivative ` , the compiler produces a warning
1343
- as asking the user to make the exclusion explicit along with fix-it suggestions
1344
- in IDEs.
1343
+ asking the user to make the exclusion explicit along with fix-it suggestions in
1344
+ IDEs.
1345
1345
1346
1346
``` swift
1347
1347
struct Foo <T : Differentiable , U : Differentiable >: @memberwise Differentiable {
@@ -1389,7 +1389,7 @@ Method `move(along:)` will not be synthesized because a default implementation
1389
1389
already exists.
1390
1390
1391
1391
``` swift
1392
- struct Point <T : Real >: @memberwise Differentiable , AdditiveArithmetic {
1392
+ struct Point <T : Real >: @memberwise Differentiable , @ memberwise AdditiveArithmetic {
1393
1393
// `x` and `y` are the "differentiation properties".
1394
1394
var x, y: T
1395
1395
You can’t perform that action at this time.
0 commit comments