Skip to content

Add support for toplevel await. #5940

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
Jan 12, 2023
Merged

Add support for toplevel await. #5940

merged 1 commit into from
Jan 12, 2023

Conversation

cristianoc
Copy link
Collaborator

@cristianoc cristianoc commented Jan 11, 2023

Fixes #5925

await can appear anywhere unless it's under a non-async function.

@cristianoc cristianoc merged commit a11ceea into master Jan 12, 2023
@cristianoc cristianoc deleted the toplevel_await branch January 12, 2023 09:42
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.

Make top-level scope as async context
2 participants