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

Cannot get intellisense off of "Task." when followed by 'await'. #15881

Closed
CyrusNajmabadi opened this issue Dec 13, 2016 · 2 comments · Fixed by #15885
Closed

Cannot get intellisense off of "Task." when followed by 'await'. #15881

CyrusNajmabadi opened this issue Dec 13, 2016 · 2 comments · Fixed by #15885
Assignees
Milestone

Comments

@CyrusNajmabadi
Copy link
Member

Ported from https://devdiv.visualstudio.com/DevDiv/_workitems?id=278222&triage=true&_a=edit

@CyrusNajmabadi
Copy link
Member Author

image

@CyrusNajmabadi
Copy link
Member Author

This is a very subtle issue. It's not just that the line is followed by 'await'. It's that it is followed by 'await Task...'.

The issue here is that this is parsed as "Task.await Task..." So we make a local in scope called "Task" of type "Task.await". So when we look up the name "Task", we find this local (with a bogus type) and we can't get intellisense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants