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

Sometimes Typescript errors keep showing in the PROBLEMS tab although the code has been fixed #28630

Closed
uditalias opened this issue Jun 13, 2017 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues typescript Typescript support issues

Comments

@uditalias
Copy link

  • VSCode Version: Code 1.13.0 (376c52b, 2017-06-08T16:34:53.678Z)
  • OS Version: Darwin x64 16.5.0
  • Extensions:
Extension Author Version
jsx TwentyChung 0.0.1
theme-jsfiddle-like-syntax-vscode davidmart 0.0.6
theme-dracula dracula-theme 2.1.1
docthis joelday 0.4.4
intellij-idea-keybindings k--kato 0.2.12
vscode-icons robertohuertasm 7.9.0
vscode-theme-darcula rokoroku 1.0.13

Steps to Reproduce:

  1. Change some code so a typescript error will be logged in the PROBLEMS tab
  2. Fix the code back
  3. The error is still logged in the PROBLEMS tab although the code compiled successfully
  4. The only way I could make it disappear is if I close the "problematic" file.
@mjbvz mjbvz self-assigned this Jun 13, 2017
@mjbvz mjbvz added javascript JavaScript support issues typescript Typescript support issues labels Jun 13, 2017
@CherryDT
Copy link

+1, I had the same issue recently. I got a "," expected error all the time, on the second line of an object. Interestingly, moving the code around moved the error around as well, but it wouldn't go away even though there was no reason for it to be there and the code ran fine. Only reopening the file fixed it.

@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Jun 13, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Jun 16, 2017

I believe this is caused by microsoft/TypeScript#16540

Let me know if you have a reliable repo. I'm also looking to see if we can do anything to fix this on the VSCode side

@mjbvz
Copy link
Collaborator

mjbvz commented Sep 11, 2017

I believe we fixed a few issues that could have been causing this on our side. We'll continue to track microsoft/TypeScript#16540 as well

@mjbvz mjbvz closed this as completed Sep 11, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug javascript JavaScript support issues typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

4 participants