Skip to content

SourceKit: handle Windows paths for request options #68292

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
Sep 3, 2023

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 2, 2023

Windows paths involve a :. Ideally, we would just use ; as the separator rather than :, but for now special case a single character entry as a drive letter.

@compnerd
Copy link
Member Author

compnerd commented Sep 2, 2023

@swift-ci please test

@compnerd compnerd mentioned this pull request Sep 2, 2023
9 tasks
@rintaro
Copy link
Member

rintaro commented Sep 3, 2023

Argh, sorry for not considering Windows path when I added this. Another option would be just passing /*MaxSplit=*/2 to split, and I'd actually prefer that. Since this sourcekitd-test is just a test utility, changing the behavior is not a big concern.

Windows paths involve a `:`.  Ideally, we would just use `;` as the
separator rather than `:`, but for now just limit the split count to 2.
@compnerd
Copy link
Member Author

compnerd commented Sep 3, 2023

@swift-ci please smoke test

@compnerd compnerd merged commit 981a6d6 into swiftlang:main Sep 3, 2023
@compnerd compnerd deleted the extra-mna branch September 3, 2023 22:44
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