Skip to content

Sema: Refactor TypeChecker::typeCheckStmtConditionElement() #74052

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

tshortli
Copy link
Contributor

Use a switch statement to cover all the possible kinds of condition elements and implement diagnostics in separate functions for each kind of condition element.

NFC.

Use a switch statement to cover all the possible kinds of condition elements
and implement diagnostics in separate functions for each kind of condition
element.

NFC.
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli merged commit 3b4a3a5 into swiftlang:main May 31, 2024
3 checks passed
@tshortli tshortli deleted the refactor-typecheck-stmt-condition-element branch May 31, 2024 21:49
Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

LGTM!

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