-
Notifications
You must be signed in to change notification settings - Fork 12.8k
TypeError: Cannot read property 'escapedName' of undefined in 'getImport' during 'documentHighlights' #38070
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
Comments
Revised stack format and updated hash. |
Fixes microsoft#38070 When the originating definition was of the form ```js module.exports.foo = expr ``` we were incorrectly trying to call `resolveName` on just the `foo` portion to get the "local" symbol, which simply failed to resolve (or would have resolved to the wrong thing), but for this form, the local symbol is just the containing property access expression
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
Oops deleted comment by accident. This hasn't reproed since Nov 20 https://github.com/microsoft/tsserverfuzzer/issues/268 |
…40297) Fixes #38070 When the originating definition was of the form ```js module.exports.foo = expr ``` we were incorrectly trying to call `resolveName` on just the `foo` portion to get the "local" symbol, which simply failed to resolve (or would have resolved to the wrong thing), but for this form, the local symbol is just the containing property access expression
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
One repro at #51963 |
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
This issue reproduced in the following context:
|
Uh oh!
There was an error while loading. Please reload this page.
This issue comes from crash dumps in telemetry. We've tried to de-duplicate issues on a best-effort basis, comparing the sequence of methods called and the command requested while ignoring line numbers.
TypeScript version prefix: 3.8.3
VSCode version: 1.43.2
Command requested: documentHighlights
Hitting sessions: 1523
Five line hash: c9833e14d77c75ad25607bf9861a5e6a
Stack:
The text was updated successfully, but these errors were encountered: