Skip to content

Adopt new async (but not yet swift 6) methods from SwiftPM #1609

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
Aug 6, 2024

Conversation

AndrewHoos
Copy link
Contributor

@AndrewHoos AndrewHoos commented Aug 2, 2024

I am trying to make swift-package-manager loading async in swiftlang/swift-package-manager#7845. This PR preemptively adds the await will cause a warning before the async method is public.

@AndrewHoos AndrewHoos requested a review from ahoppen as a code owner August 2, 2024 04:26
Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Thank you. I would like to merge this close to the corresponding SwiftPM PR so we don't have a warning about a superfluous await in SourceKit-LSP for it for too long. Can you let me know when the SwiftPM PR is close to being merged and then I'll hit merge on this one. Until then you can test your SwiftPM changes with cross-PR testing.

@MaxDesiatov
Copy link
Contributor

@swift-ci testt

@AndrewHoos AndrewHoos changed the title Preemptively add an await for when loadPackageGraph becomes async Adopt new async (but not yet swift 6) methods from SPM Aug 5, 2024
@MaxDesiatov MaxDesiatov changed the title Adopt new async (but not yet swift 6) methods from SPM Adopt new async (but not yet swift 6) methods from SwiftPM Aug 5, 2024
@AndrewHoos
Copy link
Contributor Author

@ahoppen looks like the corresponding PR landed:
swiftlang/swift-package-manager#7851

@xymus xymus merged commit ae152de into swiftlang:main Aug 6, 2024
@ahoppen
Copy link
Member

ahoppen commented Aug 6, 2024

@swift-ci Please test

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.

4 participants