Title: Find refs/get occurrences on type parameter of recursively defined type causes stack overflow · Issue #4977 · microsoft/TypeScript · GitHub
Open Graph Title: Find refs/get occurrences on type parameter of recursively defined type causes stack overflow · Issue #4977 · microsoft/TypeScript
X Title: Find refs/get occurrences on type parameter of recursively defined type causes stack overflow · Issue #4977 · microsoft/TypeScript
Description: interface I< [|T|] > extends I< [|T|] > { } Find all refs gets a stack overflow: Description: getDocumentHighlights('C:\Users\drosen\AppData\Local\Temp\~vsB119.ts', 25) StackTrace: Error: Out of stack space at isExpressionWithTypeArgumen...
Open Graph Description: interface I< [|T|] > extends I< [|T|] > { } Find all refs gets a stack overflow: Description: getDocumentHighlights('C:\Users\drosen\AppData\Local\Temp\~vsB119.ts', 25) StackTrace: Error: Out of st...
X Description: interface I< [|T|] > extends I< [|T|] > { } Find all refs gets a stack overflow: Description: getDocumentHighlights('C:\Users\drosen\AppData\Local\Temp\~vsB119.ts', 25) StackTra...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/4977
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Find refs/get occurrences on type parameter of recursively defined type causes stack overflow","articleBody":"``` TypeScript\ninterface I\u003c [|T|] > extends I\u003c [|T|] > {\n}\n```\n\nFind all refs gets a stack overflow:\n\n```\nDescription:\n\ngetDocumentHighlights('C:\\Users\\drosen\\AppData\\Local\\Temp\\~vsB119.ts', 25)\n\nStackTrace:\n\nError: Out of stack space\n at isExpressionWithTypeArgumentsInClassExtendsClause (:6812:9)\n at isTypeNode (:5336:17)\n at getTypeOfNode (:25658:13)\n at getPropertySymbolFromTypeReference (:46637:25)\n at forEach (:865:17)\n at Anonymous function (:46630:29)\n at forEach (:865:17)\n at getPropertySymbolsFromBaseTypes (:46624:21)\n at getPropertySymbolFromTypeReference (:46644:29)\n at forEach (:865:17)\n at Anonymous function (:46630:29)\n at forEach (:865:17)\n at getPropertySymbolsFromBaseTypes (:46624:21)\n at getPropertySymbolFromTypeReference (:46644:29)\n at forEach (:865:17)\n at Anonymous function (:46630:29)\n at forEach (:865:17)\n at getPropertySymbolsFromBaseTypes (:46624:21)\n at getPropertySymbolFromTypeReference (:46644:29)\n at forEach (:865:17)\n at Anonymous function (:46630:29)\n at forEach (:865:17)\n at getPropertySymb......\n```\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2015-09-25T21:04:31Z","url":"https://github.com/microsoft/TypeScript/issues/4977"}
| 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:a9f24bf0-732c-d4a8-3885-a6c2c41d60d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8980:23CF06:11E6123:16F4D95:6B010C3F |
| html-safe-nonce | 1243d51cb93a59e87fbecab0405ecfa3843d6d472cd10375e125d5e5caf3d66d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTgwOjIzQ0YwNjoxMUU2MTIzOjE2RjREOTU6NkIwMTBDM0YiLCJ2aXNpdG9yX2lkIjoiNjI1ODkxNDA2NTM4NTU4OTgyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 786c1026224b167e4b856845a50c48aca78fd09cfd52ba459854cedb36787a6f |
| hovercard-subject-tag | issue:108407830 |
| 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/4977/issue_layout |
| twitter:image | https://opengraph.githubassets.com/746e81d5b87c752a96c3aaad4c50f07a802828b367e08ea4960d67139dd494de/microsoft/TypeScript/issues/4977 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/746e81d5b87c752a96c3aaad4c50f07a802828b367e08ea4960d67139dd494de/microsoft/TypeScript/issues/4977 |
| og:image:alt | interface I< [|T|] > extends I< [|T|] > { } Find all refs gets a stack overflow: Description: getDocumentHighlights('C:\Users\drosen\AppData\Local\Temp\~vsB119.ts', 25) StackTrace: Error: Out of st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width