-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
TSServer completions request: Cannot read property 'forEach' of undefined #16610
Comments
Duplicate of #16610. |
@DanielRosenwasser That's this bug. Reopening as a still see this in |
I repro this with 2.4.1 in VS Code when I open a file which contains only: let x: And trigger completions at the end of the line. TS server log: Snippet:
|
Probably duplicate of #16537, maybe that's what you meant |
@rbuckton Can we get this bug fixed for TS 2.4.2? I've seen it hit it in a number of cases and it now that @roblourens has provided a more reliable repo, we should be able to track down what is going wrong |
@andy-ms Can you take a look at this? It may be related to your comment on #16537 |
Fixed by #17013 |
Thanks @andy-ms! Can we take this change into TS 2.4.2 as well? |
TypeScript Version: 2.4.1-insiders20170615
While working in a TS file with VS code, I see this error from the TSServer:
Not sure how to reliable reproduce it yet
The text was updated successfully, but these errors were encountered: