-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-13759] [Diag] Suggest inserting await when call is async #34509
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
[SR-13759] [Diag] Suggest inserting await when call is async #34509
Conversation
9c0241a
to
2930e09
Compare
@swift-ci please test Thanks for your contribution, @maldahleh! This is going to help users a ton. |
@harlanhaskins Glad to contribute. Is there something I need to do to get the builds to run? I notice GitHub seems to still be waiting for tests. |
@swift-ci please test |
Hm, I'm surprised that last one didn't take. Right now, only members with a track record of contributions have access to invoke CI, so for now I or someone else in the project will need to manually invoke CI. |
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! Gonna quickly tag @kavon to take a look and make sure I didn't miss anything but I think this is good to go.
LGTM, though I can't currently merge it myself. @harlanhaskins |
Something happened with the Windows bot. @swift-ci please smoke test Windows |
Thanks, @maldahleh!! |
* 'main' of github.com:apple/swift: SR-13759: FixIt - Insert await on async (swiftlang#34509)
When a call is
async
but is not marked withawait
, then we can suggest insertingawait
.Resolves SR-13759.