-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Corrects wrong insertion point for 'await' at uncovered 'async' site. #66732
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
Conversation
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.
Please add a test. As is, this change will most likely break some tests, so I’m going to trigger CI for you to inspect the failures.
@swift-ci please smoke test macOS |
Well, I suspect that too as we must probably handle the cases separately for each type of expression in an async await call expression (ex. Regarding tests, I presume there would be cases as mentioned above, let me know if I missed out any! |
After some debugging I found that only these two lines by themselves are causing an issue:
Regarding the tests itself, before they are even checked, there seems to be internal error (probably memory error/bad access/similar), hence shows 'Please submit a bug report' as Test file: |
@AnthonyLatsis |
For the future: Don’t be shy to ping someone once every 2 weeks or so in PRs if you want a review. We sometimes do forget to get back to stuff. |
Indeed! PS: By the way I am excited for GSoC 2024, hoping to land proposals just like last year and getting accepted this time, larger contributions are always fun! |
Fixes Issue #65913