Skip to content

Diagnose await outside async context #17781

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

Closed
Veykril opened this issue Aug 4, 2024 · 0 comments · Fixed by #17791
Closed

Diagnose await outside async context #17781

Veykril opened this issue Aug 4, 2024 · 0 comments · Fixed by #17791
Labels
A-async issues related to async A-diagnostics diagnostics / error reporting C-feature Category: feature request

Comments

@Veykril
Copy link
Member

Veykril commented Aug 4, 2024

We aren't reporting errors for this yet even though its a fairly simple pass to do within body lowering.

@Veykril Veykril added A-diagnostics diagnostics / error reporting C-feature Category: feature request A-async issues related to async labels Aug 4, 2024
@bors bors closed this as completed in 25d9e05 Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-async issues related to async A-diagnostics diagnostics / error reporting C-feature Category: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant