-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Debug Failure. False expression: Expected isNewFile for (only) new files #27867
Comments
Is that the wrong stack trace? The diagnostic "Expected isNewFile for (only) new files" should only happen in |
Quite possibly - I've been looking at several. Let me confirm. |
Fixed - sorry about that. |
I'm seeing this error from tsserver in my editor (Vim with YCM) (with almost the same stacktrace) when I have |
I just found out it only happened when I used |
@Hexcles I'm not able to reproduce this crash using that repro in import fs = require('fs'); tsconfig.json: {
"compilerOptions": {
"target": "es2017"
}
} I've also tested with |
Looking at my However, I can't reproduce the issue any more, either. I'm not sure if my |
I get the same error on
I don't get the error when there is no import statement, but as soon as I add |
I installed Visual Studio Code and it somehow fixed this issue for me in vim/ycm. |
Closing this as it seems fixed in recent build. @amcasey please reopen if this repros in newer builds. |
I see recent hits for |
@adammenges Can you please share the tssever log of the issue? Thanks. |
@adammenges Please provide complete tsserver log for us to be able to investigate this futher. Thanks. We will open this again when we have more information. Thanks |
We have occurrences from 3.0.0-dev to 3.2.0-dev. Here's a stack from 3.1.3:
The text was updated successfully, but these errors were encountered: