File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1271,6 +1271,12 @@ The synthesized `TangentVector` has the same effective access level as the
1271
1271
original type declaration. Properties in the synthesized ` TangentVector ` have
1272
1272
the same effective access level as their corresponding original properties.
1273
1273
1274
+ The synthesized ` TangentVector ` adopts protocols from all ` TangentVector `
1275
+ conformance constraints implied by the declaration that triggers synthesis. For
1276
+ example, synthesized ` TangentVector ` s always adopt the ` AdditiveArithmetic ` and
1277
+ ` Differentiable ` protocols because the ` Differentiable ` protocol requires that
1278
+ ` TangentVector ` conforms to ` AdditiveArithmetic ` and ` Differentiable ` .
1279
+
1274
1280
The synthesized ` move(along:) ` method calls ` move(along:) ` for each pair of a
1275
1281
differentiable variable and its corresponding property in ` TangentVector ` .
1276
1282
You can’t perform that action at this time.
0 commit comments