Skip to content

[Sema] Avoid misleading diagnostics for incomplete enum computed properties #40705

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
merged 2 commits into from
Jan 11, 2022

Conversation

LucianoPAlmeida
Copy link
Contributor

Just avoid a misleading diagnostic for incomplete enum computed properties. We had already a solution applied for extensions so this patch was simply apply to enum as well.

Resolves SR-15657.

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@xedin
Copy link
Contributor

xedin commented Jan 8, 2022

@LucianoPAlmeida This is in my queue, going to take a look on Monday.

@LucianoPAlmeida
Copy link
Contributor Author

@LucianoPAlmeida This is in my queue, going to take a look on Monday.

Thank you @xedin =]

Copy link
Collaborator

@xwu xwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@xedin
Copy link
Contributor

xedin commented Jan 10, 2022

@swift-ci please test

@LucianoPAlmeida LucianoPAlmeida merged commit 91966de into swiftlang:main Jan 11, 2022
@LucianoPAlmeida LucianoPAlmeida deleted the SR-15657-diag-enum-cp branch January 11, 2022 12:25
@LucianoPAlmeida
Copy link
Contributor Author

Thank you @xwu @xedin!

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