Skip to content

[5.5] Update index store to enum #3493

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
May 13, 2021

Conversation

miggs597
Copy link
Contributor

cherry picked from commit 09ec01b

#3469

motivation: The issue is caused by indexStoreMode: Bool? so it's set to nil when running --help on any subcommand. It can be solved by setting to either true or false, but by choosing either true or false we lose auto which is our default. Using an enum solves the issue of having a nil value by using the case autoIndexStoreand preserves the ability to use auto as our default.

changes: move indexStoreMode to an enum
(cherry picked from commit 09ec01b)
@miggs597 miggs597 changed the base branch from main to release/5.5 May 12, 2021 18:04
@tomerd tomerd added the 5.5 label May 12, 2021
@tomerd
Copy link
Contributor

tomerd commented May 13, 2021

@swift-ci please test

@tomerd tomerd merged commit 28c5730 into swiftlang:release/5.5 May 13, 2021
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