Skip to content

Refactor nested ifs into a switch statement #4132

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 1 commit into from
Feb 13, 2022

Conversation

sjavora
Copy link
Contributor

@sjavora sjavora commented Feb 12, 2022

Also reduces some of the assignment repetitions, which makes the code even clearer (IMO).

Copy link
Contributor

@tomerd tomerd left a comment

Choose a reason for hiding this comment

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

nice. thanks you

@tomerd
Copy link
Contributor

tomerd commented Feb 12, 2022

@swift-ci please smoke test

@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Feb 12, 2022
@tomerd tomerd merged commit bec0287 into swiftlang:main Feb 13, 2022
@sjavora sjavora deleted the workspaceSwitchFixme branch February 13, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants