Skip to content

Report async code fix diagnostic on name whenever it exists #27109

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 4 commits into from
Sep 16, 2018

Conversation

uniqueiniquity
Copy link
Contributor

Fixes #26801.

If a function expression that can be transformed into an async function is assigned to a variable but also has a name, we'd like to offer the fix on the function's name rather than the variable it's being assigned to.

@uniqueiniquity uniqueiniquity requested review from amcasey and a user September 14, 2018 23:37
@uniqueiniquity uniqueiniquity merged commit 70ce7ab into microsoft:master Sep 16, 2018
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.

Report async code fix diagnostic on function name whenever it exists
2 participants