Skip to content

parse symbol availability allow/block-list args together #80968

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
Apr 22, 2025

Conversation

QuietMisdreavus
Copy link
Contributor

This PR forward-ports a review comment from #80806 back to the main branch.

The way i originally wrote the argument handling for [-symbol-graph]-{allow,block}-availability-platforms left in a surprising behavior if both arguments were present, where it would favor the presence of the allowlist argument over the blocklist argument, even if the blocklist was written later in the command-line. This PR updates the argument handling to look for both arguments at the same time and favor whichever is last in the argument list.

@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please smoke test

@QuietMisdreavus QuietMisdreavus merged commit f7bf701 into main Apr 22, 2025
3 checks passed
@QuietMisdreavus QuietMisdreavus deleted the vgm/sgf-platform-arg-rework branch April 22, 2025 17:46
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