Skip to content

InitAccessors: Parse initializer exprs associated with computed prope… #1795

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

Merged

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jun 15, 2023

…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.

@xedin xedin requested a review from ahoppen as a code owner June 15, 2023 17:01
@xedin
Copy link
Contributor Author

xedin commented Jun 15, 2023

@swift-ci please test

…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.
@xedin xedin force-pushed the allow-init-expr-for-comp-prop-with-init-accessors branch from 2f18b5e to b05cd4e Compare June 15, 2023 17:45
@xedin
Copy link
Contributor Author

xedin commented Jun 15, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jun 15, 2023

@swift-ci please test Windows platform

@xedin
Copy link
Contributor Author

xedin commented Jun 15, 2023

@swift-ci please test Windows platform

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.

2 participants