-
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
Crash: TypeError: Cannot read property 'kind' of undefined (at isConstraintPosition) #26978
Comments
The last that works is 3.1.0-dev.20180825:
The first version that fails is 3.1.0-dev.20180828 (after a weekend):
|
I think this has to do with |
After encountering the same error and bisecting, 0dbad04 is the commit that caused this bug. |
I get a similar crash in tsc 3.0.3:
UPDATE: Seems like this is covered by #26153. |
@jonaskello I'm not sure. I still see this error in TS |
TypeScript Version: 3.1.0-dev.20180907
Search Terms: compile error strict mode
Code:
test.ts
:tsconfig.json
:Expected behavior:
Running
tsc
successfully compiles the module.Actual behavior:
tsc
exits with the following error:The code compiles successfully if the
strict
flag is disabled. Also, the code compiles fine ifdef
is instead anumber
orstring
(and assigned the appropriate type of value).The text was updated successfully, but these errors were encountered: