-
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
Debug Failure. False expression in TS 2.9 #24577
Comments
That kind is |
Yeah, removing |
I'm getting the same error, but I have no idea how to fix it. I do not have any I also just started getting this error after updating from 2.8.4 to 2.9.1, and I am using webpack 4 with tsloader. This is the error I'm getting:
|
Fix should be in |
Yeah! That worked 😃 |
We have this same issue reported to us and I can reproduce locally with Typescript 2.9.2, 2.9.1 and even
Sadly no reference is given to the location of the @mhegazy do you have any suggestions on how we can try and identify what part of the file is causing this issue so that we can fix / raise a suitable issue? |
@mattheworiordan That has nothing in common with this issue besides being an assertion failure, so I made a new issue for it: #24963 |
Thanks!
…On Thu, 14 Jun 2018 at 19:51, Andy ***@***.***> wrote:
@mattheworiordan <https://github.com/mattheworiordan> That has nothing in
common with this issue besides being an assertion failure, so I made a new
issue for it: #24963
<#24963>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24577 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACrDdziUJW2wcyCVB0UExIJh03vMcf-ks5t8rDMgaJpZM4UXDgD>
.
|
to avoid microsoft/TypeScript#24577, which failed tests locally
I have this problem using:
It happens on a file where I use both |
@chris-fran Could you create a new issue and provide a sample file that will reproduce it? |
TypeScript Version: 2.9.1
Search Terms: Module build failed: Error: Debug Failure. False expression. lastLocation.kind 273
Code
// hard to do a *self-contained* demonstration of the problem :(
Expected behavior:
Should compile without fail :)
Actual behavior:
Just updated typescript from 2.8.4 to 2.9.1 and got this error:
We use webpack@4 with ts-loader@4 and got this error. It happens with node8 and node10 on windows, macos and linux. It compiles without error in typescript 2.8, 2.7 etc.
I went to
resolveNameHelper
(\node_modules\typescript\lib\typescript.js:27843) and find the assert line:I've added a condition before it:
And got
296
. I don't know what it means but tell me how I can help further.The text was updated successfully, but these errors were encountered: