Skip to content

Do not prefix relative SDK paths twice #76620

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 30, 2024
Merged

Do not prefix relative SDK paths twice #76620

merged 1 commit into from
Sep 30, 2024

Conversation

rmaz
Copy link
Contributor

@rmaz rmaz commented Sep 20, 2024

When using relative SDK paths, do not prefix the SDK path again in resolveModuleDefiningFilePath.

@rmaz rmaz requested a review from xymus as a code owner September 20, 2024 22:21
@rmaz rmaz requested a review from drodriguez September 20, 2024 22:21
@rmaz
Copy link
Contributor Author

rmaz commented Sep 20, 2024

@swift-ci please test

@tshortli
Copy link
Contributor

Could add a regression test for this fix?

@rmaz
Copy link
Contributor Author

rmaz commented Sep 27, 2024

Could add a regression test for this fix?

Added a regression test that builds with a relative SDK path and verified the fix passes the test.

@rmaz
Copy link
Contributor Author

rmaz commented Sep 27, 2024

@swift-ci please test

@rmaz rmaz merged commit c9b0a2a into swiftlang:main Sep 30, 2024
5 checks passed
@rmaz rmaz deleted the sdkprefix branch September 30, 2024 14:38
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