Skip to content
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

Parse parameter decorators outside of Await context when appropriate #50040

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

rbuckton
Copy link
Member

This fixes a case where we fail to parse parameter decorators outside of an Await context when the method containing the parameter is async, but the function containing the class is not.

Fixes #48509

@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jul 25, 2022
@rbuckton rbuckton merged commit 12dbdf0 into main Jul 25, 2022
@rbuckton rbuckton deleted the fix48509 branch July 25, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameter decorators use incorrect async/await context, generated code has syntax error
3 participants