Skip to content

Conversation

@dan-zheng
Copy link
Contributor

For accessors: make AbstractFunctionDecl::getDerivativeFunctionConfigurations
resolve configurations from parent storage declaration @differentiable
attributes.

Fixes "no @differentiable attribute" non-differentiability error for accessors
whose parent storage declaration @differentiable attributes have not been
type-checked (e.g. because the storage declarations are in another file).

Add protocol requirement and class member storage declaration tests.

Resolves TF-1234.

For accessors: make `AbstractFunctionDecl::getDerivativeFunctionConfigurations`
resolve configurations from parent storage declaration `@differentiable`
attributes.

Fixes "no `@differentiable` attribute" non-differentiability error for accessors
whose parent storage declaration `@differentiable` attributes have not been
type-checked (e.g. because the storage declarations are in another file).

Add protocol requirement and class member storage declaration tests.

Resolves TF-1234.
@dan-zheng
Copy link
Contributor Author

@swift-ci Please test

@dan-zheng dan-zheng merged commit a5bdbd9 into swiftlang:master May 9, 2020
@dan-zheng dan-zheng deleted the TF-1234 branch May 9, 2020 14:29
rxwei pushed a commit to rxwei/swift that referenced this pull request Jun 3, 2020
…ftlang#31669)

For accessors: make `AbstractFunctionDecl::getDerivativeFunctionConfigurations`
resolve configurations from parent storage declaration `@differentiable`
attributes.

Fixes "no `@differentiable` attribute" non-differentiability error for accessors
whose parent storage declaration `@differentiable` attributes have not been
type-checked (e.g. because the storage declarations are in another file).

Add protocol requirement and class member storage declaration tests.

Resolves TF-1234.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants