-
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
getJSDocTags ... Debug Failure. False expression. #25935
Comments
The bug is happening due to a jsdoc comment somewhere in your program. You might be able to narrow it down by making a clone of your repository and deleting files until the error no longer happens, then narrow down the particular file that was responsible. Or if you can, you could just share a link to the project. |
Duplicate of #25067? |
May be -- @burtonator Be sure to test with |
Fixed on 3.0.0-rc! |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
@andy-ms just seeing this in our project as well, but we're stuck at 2.7.2 due to the deps of |
@andy-ms thanks for the reply. so these issues appear to be related to dependencies of the project. I've created a Pastebin. If you have any ideas, it would be much appreciated! https://paste.laravel.io/f617665b-bfd9-44fd-96ba-b296cb8b3d5e Edit: also, these errors are being thrown with TS 3.0.1. |
@mcblum Maybe you could avoid compiling your |
Also, I don't see any errors running |
@andy-ms interesting. I ran |
You're getting compile errors in files that TypeScript wouldn't normally compile -- by default it doesn't type-check the contents of |
I get this exception when trying to migrate an existing JS app to TS.
.. I imagine I have malformed JSDoc tags that I need to resolve but I can't find out which one is causing the problem. I went through and looked at the last .js file from my app it's printing and removed the JSDoc and that didn't resolve the problem.
It would be nice if TSC didn't choke but even just better error handling so I can fix this myself would be nice.
TypeScript Version: 2.9.2
Search Terms:
getJSDocTags " Debug Failure. False expression."
Code
I'm not sure
Expected behavior:
Don't generate this error but at least show me where the problem is happening.
Actual behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: