Title: TypeError: Cannot read property 'declarations' of undefined in 'getReferencedSymbolsForSymbol' during 'occurrences' · Issue #21798 · microsoft/TypeScript · GitHub
Open Graph Title: TypeError: Cannot read property 'declarations' of undefined in 'getReferencedSymbolsForSymbol' during 'occurrences' · Issue #21798 · microsoft/TypeScript
X Title: TypeError: Cannot read property 'declarations' of undefined in 'getReferencedSymbolsForSymbol' during 'occurrences' · Issue #21798 · microsoft/TypeScript
Description: 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: 2.7.1 V...
Open Graph Description: 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 num...
X Description: 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...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/21798
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot read property 'declarations' of undefined in 'getReferencedSymbolsForSymbol' during 'occurrences'","articleBody":"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.\n**TypeScript Version Prefix**: 2.7.1\n**VSCode Version** 1.19.0\n**command requested**: occurrences\n**hitting sessions**: 1347\n**proportion of all sessions**: 0.0050285023126630905\n**five line hash**: aacec41cabb03749056321a69c93c51e\n**stack**\n```\nTypeError: Cannot read property 'declarations' of undefined\n at getReferencedSymbolsForSymbol (tsserver.js:69733:115)\n at Object.getReferencedSymbolsForNode (tsserver.js:69660:24)\n at Object.getReferenceEntriesForNode (tsserver.js:69500:58)\n at getSemanticDocumentHighlights (tsserver.js:68440:57)\n at Object.getDocumentHighlights (tsserver.js:68429:20)\n at getDocumentHighlights (tsserver.js:82973:42)\n at getOccurrencesAtPositionCore (tsserver.js:82976:46)\n at Object.getOccurrencesAtPosition (tsserver.js:82962:27)\n at IOSession.Session.getOccurrences (tsserver.js:89496:64)\n at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:89112:61)\n at unknown (tsserver.js:90393:88)\n at IOSession.Session.executeWithRequestId (tsserver.js:90384:28)\n at IOSession.Session.executeCommand (tsserver.js:90393:33)\n at IOSession.Session.onMessage (tsserver.js:90413:35)\n at Interface.\u003canonymous> (tsserver.js:91614:27)\n at emitOne (events.js:96:13)\n at Interface.emit (events.js:191:7)\n at Interface._onLine (readline.js:241:10)\n at Interface._normalWrite (readline.js:384:12)\n at Socket.ondata (readline.js:101:10)\n at emitOne (events.js:96:13)\n at Socket.emit (events.js:191:7)\n at readableAddChunk (_stream_readable.js:178:18)\n at Socket.Readable.push (_stream_readable.js:136:10)\n at Pipe.onread (net.js:560:20)\n```","author":{"url":"https://github.com/aozgaa","@type":"Person","name":"aozgaa"},"datePublished":"2018-02-09T01:19:08Z","url":"https://github.com/microsoft/TypeScript/issues/21798"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2db45d8-909e-ebe5-2d2c-b0fdc34d3ebc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6E6:1201C:2835F3D:356DB1E:6B01AB11 |
| html-safe-nonce | f0bec020ac587a663c0ac4fea74f7780513d1ff826467a33c58ed046f35333cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkU2OjEyMDFDOjI4MzVGM0Q6MzU2REIxRTo2QjAxQUIxMSIsInZpc2l0b3JfaWQiOiI2MjE4Mjg3OTc0MDI3NzMzNzc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | aa895cadb6b74cf115fd07e2d94e17c3f3885d745bf1f90cd338d68f5d967aa1 |
| hovercard-subject-tag | issue:295723483 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/21798/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f3411ad7ecf32738f9a5b3fcf29da8bd0e93a61d9ff4055e03f52adddc77849/microsoft/TypeScript/issues/21798 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f3411ad7ecf32738f9a5b3fcf29da8bd0e93a61d9ff4055e03f52adddc77849/microsoft/TypeScript/issues/21798 |
| og:image:alt | 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 num... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aozgaa |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width