Title: Debug Failure. False expression: Found more references than expected in `getReferences` during `getCodeActionsForParameters` · Issue #20790 · microsoft/TypeScript · GitHub
Open Graph Title: Debug Failure. False expression: Found more references than expected in `getReferences` during `getCodeActionsForParameters` · Issue #20790 · microsoft/TypeScript
X Title: Debug Failure. False expression: Found more references than expected in `getReferences` during `getCodeActionsForParameters` · Issue #20790 · microsoft/TypeScript
Description: tsserver version: hits: 6435 stack: Error: Debug Failure. False expression: Found more references than expected at getReferences (tsserver.js:76656:26) at inferTypeForParametersFromUsage (tsserver.js:76673:92) at getCodeActionForParamete...
Open Graph Description: tsserver version: hits: 6435 stack: Error: Debug Failure. False expression: Found more references than expected at getReferences (tsserver.js:76656:26) at inferTypeForParametersFromUsage (tsserver....
X Description: tsserver version: hits: 6435 stack: Error: Debug Failure. False expression: Found more references than expected at getReferences (tsserver.js:76656:26) at inferTypeForParametersFromUsage (tsserver....
Opengraph URL: https://github.com/microsoft/TypeScript/issues/20790
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug Failure. False expression: Found more references than expected in `getReferences` during `getCodeActionsForParameters`","articleBody":"tsserver version:\r\nhits: 6435\r\nstack:\r\n```\r\nError: Debug Failure. False expression: Found more references than expected\r\n at getReferences (tsserver.js:76656:26)\r\n at inferTypeForParametersFromUsage (tsserver.js:76673:92)\r\n at getCodeActionForParameters (tsserver.js:76594:29)\r\n at Object.getActionsForAddExplicitTypeAnnotation [as getCodeActions] (tsserver.js:76556:28)\r\n at tsserver.js:74988:33\r\n at Object.forEach (tsserver.js:1312:30)\r\n at Object.getFixes (tsserver.js:74987:16)\r\n at tsserver.js:80109:35\r\n at Object.flatMap (tsserver.js:1550:25)\r\n at Object.getCodeFixesAtPosition (tsserver.js:80107:23)\r\n at IOSession.Session.getCodeFixes (tsserver.js:86515:64)\r\n at Session.handlers.ts.createMapFromTemplate._a.(anonymous function) (tsserver.js:85423:61)\r\n at tsserver.js:86669:88\r\n at IOSession.Session.executeWithRequestId (tsserver.js:86660:28)\r\n at IOSession.Session.executeCommand (tsserver.js:86669:33)\r\n at IOSession.Session.onMessage (tsserver.js:86689:35)\r\n at Interface.\u003canonymous> (tsserver.js:87881:27)\r\n at emitOne (events.js:96:13)\r\n at Interface.emit (events.js:191:7)\r\n at Interface._onLine (readline.js:241:10)\r\n at Interface._normalWrite (readline.js:384:12)\r\n at Socket.ondata (readline.js:101:10)\r\n at emitOne (events.js:96:13)\r\n at Socket.emit (events.js:191:7)\r\n at readableAddChunk (_stream_readable.js:178:18)\r\n at Socket.Readable.push (_stream_readable.js:136:10)\r\n at Pipe.onread (net.js:560:20)\r\n```","author":{"url":"https://github.com/aozgaa","@type":"Person","name":"aozgaa"},"datePublished":"2017-12-19T22:20:42Z","url":"https://github.com/microsoft/TypeScript/issues/20790"}
| 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:81b5bb73-8a7c-1485-caa3-065499189264 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E42E:1AE20C:327F7BF:3FEEE25:6B01CB17 |
| html-safe-nonce | 46962ce934bb423bf84a3b7e7e45a0f43d8319bc2c93326fd9b959bfea96f3a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDJFOjFBRTIwQzozMjdGN0JGOjNGRUVFMjU6NkIwMUNCMTciLCJ2aXNpdG9yX2lkIjoiNDQ1MTQ1ODE0NjM3MTc1MDY3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c09cfb45e92c4798352097357de25be0189f32d0de865470a0c58ff901e0823 |
| hovercard-subject-tag | issue:283388003 |
| 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/20790/issue_layout |
| twitter:image | https://opengraph.githubassets.com/62697538e810fa20a7310085b7afe37e9ae7996c0cc44bf9b3b85c3ff137fe33/microsoft/TypeScript/issues/20790 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/62697538e810fa20a7310085b7afe37e9ae7996c0cc44bf9b3b85c3ff137fe33/microsoft/TypeScript/issues/20790 |
| og:image:alt | tsserver version: hits: 6435 stack: Error: Debug Failure. False expression: Found more references than expected at getReferences (tsserver.js:76656:26) at inferTypeForParametersFromUsage (tsserver.... |
| 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