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

Inline function adds invalid .await #10198

Closed
jplatte opened this issue Sep 10, 2021 · 0 comments · Fixed by #15074
Closed

Inline function adds invalid .await #10198

jplatte opened this issue Sep 10, 2021 · 0 comments · Fixed by #15074
Labels
A-assists S-actionable Someone could pick this issue up and work on it right now

Comments

@jplatte
Copy link
Contributor

jplatte commented Sep 10, 2021

Using the "inline function" assist on an async function produces a regular (non-async) block with the function's body without removing the .await the usually follows directly after the function code, thus trying to await something that it (most often) not a future.

@lnicola lnicola added A-assists S-actionable Someone could pick this issue up and work on it right now labels Sep 10, 2021
@bors bors closed this as completed in f993485 Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-assists S-actionable Someone could pick this issue up and work on it right now
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants