| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:6aa0fec4-9b0b-d91b-f8c5-0565e05116f9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA98:22F19E:2DE8518:3EDEC09:6964E99E |
| html-safe-nonce | ae860471b1bef5a4bdcab1fddd8b4fbe511b15ea76d0b33004a600254a09ef5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTk4OjIyRjE5RToyREU4NTE4OjNFREVDMDk6Njk2NEU5OUUiLCJ2aXNpdG9yX2lkIjoiNjkyMjQ0OTA0NzU5MDg1NzExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dc7ca5561d4ecf0be91cbd1e9bf9f8b781960afdbacca67bcdae1786367ae60c |
| hovercard-subject-tag | pull_request:3112008350 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/62907/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f456083441ee1ce511c72e9ca1e77f7d3f90a267c91854b6cc6ef5659b4bc1d1/microsoft/TypeScript/pull/62907 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f456083441ee1ce511c72e9ca1e77f7d3f90a267c91854b6cc6ef5659b4bc1d1/microsoft/TypeScript/pull/62907 |
| og:image:alt | Fixes #62471
Description
This PR fixes a RangeError: Maximum call stack size exceeded crash in the TypeScript Server (VS Code Extension) that occurs when invoking "Refactor..." actions on... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Dino0204 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3c30097417ecb9dfdab6b2e8bc7dc38d73e183d6ad48f94cb69e4a5daa2dbb87 |
| 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 | 69fc54a84c74307369dba42af5401200531d116e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/TypeScript/pull/62907#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F62907 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F62907 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/62907 |
| Reload | https://github.com/microsoft/TypeScript/pull/62907 |
| Reload | https://github.com/microsoft/TypeScript/pull/62907 |
|
microsoft
| https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
|
Notifications
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Fork
13.2k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Star
107k
| https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
5k
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
496
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
1
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/microsoft/TypeScript/security |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
|
Code
| https://github.com/microsoft/TypeScript |
|
Issues
| https://github.com/microsoft/TypeScript/issues |
|
Pull requests
| https://github.com/microsoft/TypeScript/pulls |
|
Actions
| https://github.com/microsoft/TypeScript/actions |
|
Projects
| https://github.com/microsoft/TypeScript/projects |
|
Models
| https://github.com/microsoft/TypeScript/models |
|
Wiki
| https://github.com/microsoft/TypeScript/wiki |
|
Security
| https://github.com/microsoft/TypeScript/security |
|
Insights
| https://github.com/microsoft/TypeScript/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/microsoft/TypeScript/pull/62907#issue-comment-box |
| Dino0204 | https://github.com/Dino0204 |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| Dino0204:main | https://github.com/Dino0204/TypeScript/tree/main |
|
Fix infinite loop in symbolWalker during extract function refactoring
| https://github.com/microsoft/TypeScript/pull/62907#top |
| Dino0204 | https://github.com/Dino0204 |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| Dino0204:main | https://github.com/Dino0204/TypeScript/tree/main |
|
Conversation
5
| https://github.com/microsoft/TypeScript/pull/62907 |
|
Commits
5
| https://github.com/microsoft/TypeScript/pull/62907/commits |
|
Checks
33
| https://github.com/microsoft/TypeScript/pull/62907/checks |
|
Files changed
2
| https://github.com/microsoft/TypeScript/pull/62907/files |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
|
| https://github.com/Dino0204 |
| Dino0204 | https://github.com/Dino0204 |
| Dec 18, 2025 | https://github.com/microsoft/TypeScript/pull/62907#issue-3741173568 |
| #62471 | https://github.com/microsoft/TypeScript/issues/62471 |
| https://private-user-images.githubusercontent.com/162967089/527873716-13e39cf7-7f96-48b4-9959-91b727ea8b65.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdG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QmWC1BbXotRGF0ZT0yMDI2MDExMlQxMjMxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZDI3NGI2YzExZjIzNmM5NWM2OTAxYmFlZjM4NjZkZDY5NTQ5N2M5ZDlmMjc2M2MxMzFkMGE4N2JlODhkMTdmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RBgDSXSODJW0_6z8USz3MHatu_fvf2_sMmpuGkjy7qk |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
|
| https://github.com/Dino0204 |
| Fix infinite loop in symbolWalker during extract function refactoring | https://github.com/microsoft/TypeScript/pull/62907/commits/95b73f37888cd8756dae3b5a8aba6b1a9f96787a |
| 95b73f3 | https://github.com/microsoft/TypeScript/pull/62907/commits/95b73f37888cd8756dae3b5a8aba6b1a9f96787a |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| December 18, 2025 02:31 | https://github.com/microsoft/TypeScript/pull/62907#event-21631696881 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Dec 18, 2025 | https://github.com/microsoft/TypeScript/pull/62907#event-21631697233 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| PR Backlog | https://github.com/orgs/microsoft/projects/1252 |
| Dec 18, 2025 | https://github.com/microsoft/TypeScript/pull/62907#event-21631697530 |
| https://github.com/typescript-bot |
| typescript-bot | https://github.com/typescript-bot |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
| Dec 18, 2025 | https://github.com/microsoft/TypeScript/pull/62907#event-21631697373 |
| started reviewing | https://github.com/copilot/tasks/pull/PR_kwDOAT9aAc65fXqe?session_id=73fd4601-8445-4ad8-a99c-aa5e4d57c6d7 |
| Dino0204 | https://github.com/Dino0204 |
| December 18, 2025 02:32 | https://github.com/microsoft/TypeScript/pull/62907#event-21631704489 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOAT9aAc65fXqe?session_id=73fd4601-8445-4ad8-a99c-aa5e4d57c6d7 |
| https://github.com/Dino0204 |
| Dino0204 | https://github.com/Dino0204 |
| Dec 18, 2025 | https://github.com/microsoft/TypeScript/pull/62907#issuecomment-3668031356 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Dec 18, 2025
| https://github.com/microsoft/TypeScript/pull/62907#pullrequestreview-3590447357 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/62907/files/95b73f37888cd8756dae3b5a8aba6b1a9f96787a |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/microsoft/TypeScript/pull/62907#pullrequestreview-3590447357 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
| tests/cases/fourslash/extractFunctionSymbolWalkerInfiniteLoop.ts | https://github.com/microsoft/TypeScript/pull/62907/files/95b73f37888cd8756dae3b5a8aba6b1a9f96787a#diff-84dc45503e620f3d41b81a02a5f0ac2f5a399de5742d0700750323376ae0c8ce |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
| src/compiler/symbolWalker.ts | https://github.com/microsoft/TypeScript/pull/62907/files/95b73f37888cd8756dae3b5a8aba6b1a9f96787a#diff-67f22899cf4b638561890d2010c6165d31b7748746a9d7a3af4fe36a180c432f |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
| https://github.com/Dino0204 |
| Dino0204 | https://github.com/Dino0204 |
|
Dec 18, 2025
| https://github.com/microsoft/TypeScript/pull/62907#ref-issue-3438443436 |
|
Certain recursive types cause "Maximum call stack size exceeded" error in TS server
#62471
| https://github.com/microsoft/TypeScript/issues/62471 |
| Dino0204 | https://github.com/Dino0204 |
| December 18, 2025 03:06 | https://github.com/microsoft/TypeScript/pull/62907#commits-pushed-a41bd6e |
|
| https://github.com/Dino0204 |
| Fix off-by-one error in recursion limit | https://github.com/microsoft/TypeScript/pull/62907/commits/a41bd6ef25edcd2489af7e2c15cc1ee75831aec5 |
| a41bd6e | https://github.com/microsoft/TypeScript/pull/62907/commits/a41bd6ef25edcd2489af7e2c15cc1ee75831aec5 |
|
| https://github.com/Dino0204 |
| Fix CI format error | https://github.com/microsoft/TypeScript/pull/62907/commits/8305d70e86acacba888e7740f6717e83d12c176d |
| 8305d70 | https://github.com/microsoft/TypeScript/pull/62907/commits/8305d70e86acacba888e7740f6717e83d12c176d |
|
| https://github.com/Dino0204 |
| Merge branch 'main' into main | https://github.com/microsoft/TypeScript/pull/62907/commits/c1d23c70b8ddd39835f7005a0f1c9c5b33e7862d |
| c1d23c7 | https://github.com/microsoft/TypeScript/pull/62907/commits/c1d23c70b8ddd39835f7005a0f1c9c5b33e7862d |
|
| https://github.com/Dino0204 |
| Merge branch 'main' into main | https://github.com/microsoft/TypeScript/pull/62907/commits/5748fefd3d308308ead7b9b0cfaba8cde488fbe6 |
| 5748fef | https://github.com/microsoft/TypeScript/pull/62907/commits/5748fefd3d308308ead7b9b0cfaba8cde488fbe6 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F62907 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/microsoft/TypeScript/pull/62907/files/95b73f37888cd8756dae3b5a8aba6b1a9f96787a |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
|
PR Backlog
| https://github.com/orgs/microsoft/projects/1252 |
|
Certain recursive types cause "Maximum call stack size exceeded" error in TS server
| https://github.com/microsoft/TypeScript/issues/62471 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/62907 |
|
| https://github.com/Dino0204 |
|
| https://github.com/typescript-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |