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
12711271original type declaration. Properties in the synthesized ` TangentVector ` have
12721272the same effective access level as their corresponding original properties.
12731273
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+
12741280The synthesized ` move(along:) ` method calls ` move(along:) ` for each pair of a
12751281differentiable variable and its corresponding property in ` TangentVector ` .
12761282
You can’t perform that action at this time.
0 commit comments