Skip to content

[5.9] InitAccessors: Parse initializer exprs associated with computed prope… #1803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 16, 2023

…rties that have init accessor

Cherry-pick of #1795


Initialization expressions are not allowed on computed properties
but if a property has init accessor it should be allowed because
it could be used by a memberwise initializer.

(cherry picked from commit b05cd4e)

…rties that have `init` accessor

Initialization expressions are not allowed on computed properties
but if a property has `init` accessor it should be allowed because
it could be used by a memberwise initializer.

(cherry picked from commit b05cd4e)
@xedin xedin requested a review from ahoppen as a code owner June 16, 2023 19:57
@xedin
Copy link
Contributor Author

xedin commented Jun 16, 2023

@swift-ci please test

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.

1 participant