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

async/await unresolved type parameter in generator error shouldn't refer to `yield` #60615

Open
cramertj opened this issue May 7, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@cramertj
Copy link
Member

commented May 7, 2019

This error could be better and shouldn't talk about yield. This requires plumbing through extra information about where generators and yields came from so that we can give appropriate diagnostics at later stages of the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.