René's URL Explorer Experiment


Title: Debug Failure. No error for last overload signature · Issue #48636 · microsoft/TypeScript · GitHub

Open Graph Title: Debug Failure. No error for last overload signature · Issue #48636 · microsoft/TypeScript

X Title: Debug Failure. No error for last overload signature · Issue #48636 · microsoft/TypeScript

Description: Bug Report 🔎 Search Terms "Debug Failure. No error for last overload signature" Also, for anyone in the future finding a minimal reproduction for an error like this: edit node_modules/typescript/tsc.js in order to find out which line is ...

Open Graph Description: Bug Report 🔎 Search Terms "Debug Failure. No error for last overload signature" Also, for anyone in the future finding a minimal reproduction for an error like this: edit node_modules/typescript/ts...

X Description: Bug Report 🔎 Search Terms "Debug Failure. No error for last overload signature" Also, for anyone in the future finding a minimal reproduction for an error like this: edit node_modules/typ...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/48636

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug Failure. No error for last overload signature","articleBody":"# Bug Report\r\n\r\n\u003c!--\r\n  Please fill in each section completely. Thank you!\r\n--\u003e\r\n\r\n### 🔎 Search Terms\r\n\r\n\u003c!--\r\n  What search terms did you use when trying to find an existing bug report?\r\n  List them here so people in the future can find this one more easily.\r\n--\u003e\r\n\r\n\"Debug Failure. No error for last overload signature\"\r\n\r\nAlso, for anyone in the future finding a minimal reproduction for an error like this: edit `node_modules/typescript/tsc.js` in order to find out which line is causing the crash\r\n\r\n```diff\r\n- ts.Debug.fail(\"No error for last overload signature\");\r\n+ ts.Debug.fail(\"No error for last overload signature. Call:\\n\" + ts.getTextOfNode(node));\r\n```\r\n\r\n### 🕗 Version \u0026 Regression Information\r\n\r\n\u003c!-- When did you start seeing this bug occur?\r\n\r\n\"Bugs\" that have existed in TS for a long time are very likely to be FAQs; refer to\r\n  https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs\r\n\r\nIf possible, please try testing the nightly version of TS to see if it's already been fixed.\r\nFor npm: `typescript@next`\r\nThis is also the 'Nightly' version in the playground: http://www.typescriptlang.org/play/?ts=Nightly\r\n\r\nNote: The TypeScript Playground can be used to try older versions of TypeScript.\r\n\r\nPlease keep and fill in the line that best applies:\r\n--\u003e\r\n\r\n- This is a crash\r\n\r\n### ⏯ Playground Link\r\n\r\n\u003c!--\r\n  A link to a TypeScript Playground \"Share\" link which shows this behavior\r\n\r\n  The TypeScript Workbench can be used for more complex setups, try\r\n  https://www.typescriptlang.org/dev/bug-workbench/\r\n\r\n  As a last resort, you can link to a repo, but these will be slower for us to investigate.\r\n--\u003e\r\n[Workbench link with relevant code](https://www.typescriptlang.org/dev/bug-workbench/?#code/C4TwDgpgBAIhFgEoQIYBMD2A7ANiAPACoB8UAvFAAxQQAewEWaAzlAIxQBkUhUA-DygAuKAG8AUFClQATqky4QUANoBpKAEssUANYQQGAGY8AuiLgJk6bHiJqTxANziAvs7QQAxjhRyohgFcsT2ANbFkvbE8NHAgiGnpGFigAVQAaVOIACgA3FBwAiBFCAEoRLOZgFAYRFJLyUkJncVBIKABlYAw5dohgBhkiUgosrLA5HM7qoth4JHkbAhJ6slILeetFIZLm1uhe4E7uiAAxIJCwrCHyKAq+gZEjnvuIQeWGqByMDTRmujBusB-OdQuE9sxPDINGBgABhGQoZgACyGWUk0jyBRm6ysClsJDS6KkzD6ADV8oVHn0nqcQZd4gAfKBYAI4HDEQn1CTSKAk4DkrFZOSeKIxCC5CkQEo7VxAA)\r\n\r\n### 💻 Code\r\n\r\n\u003c!-- Please post the relevant code sample here as well--\u003e\r\n```ts\r\ntype DeepReadonly\u003cT\u003e = 0 extends 1 \u0026 T ? T : {\r\n    readonly [K in keyof T]: DeepReadonly\u003cT[K]\u003e;\r\n};\r\ndeclare function reconcile\u003cT extends U, U\u003e(value: T): (state: U) =\u003e T;\r\n\r\ntype StoreSetter\u003cT\u003e = ((prevState: DeepReadonly\u003cT\u003e) =\u003e DeepReadonly\u003cT\u003e);\r\n\r\ntype SetStoreFunction\u003cT\u003e = (setter: StoreSetter\u003cT\u003e) =\u003e void;\r\n\r\nexport function typescriptCrash\u003cT\u003e(\r\n    value: DeepReadonly\u003cT\u003e,\r\n    setValue: SetStoreFunction\u003cT | null\u003e,\r\n) {\r\n    setValue(reconcile(value));\r\n}\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\n\u003c!-- What happened, and why it was wrong --\u003e\r\n\r\nTypescript crashed.\r\n\r\n```\r\nDebug Failure. No error for last overload signature\r\n\r\nfail@https://typescript.azureedge.net/cdn/4.7.0-dev.20220408/monaco/dev/vs/language/typescript/tsWorker.js:2468:17\r\nresolveCall@https://typescript.azureedge.net/cdn/4.7.0-dev.20220408/monaco/dev/vs/language/typescript/tsWorker.js:62458:27\r\nresolveCallExpression@https://typescript.azureedge.net/cdn/4.7.0-dev.20220408/monaco/dev/vs/language/typescript/tsWorker.js:62780:16\r\nresolveSignature@https://typescript.azureedge.net/cdn/4.7.0-dev.20220408/monaco/dev/vs/language/typescript/tsWorker.js:63097:20\r\n…\r\n```\r\n\r\n### 🙂 Expected behavior\r\n\r\n\u003c!-- What you expected to happen instead, and why --\u003e\r\n\r\nTypescript should not have crashed. Also, I think the code should compile with no errors, but I'm not sure.\r\n","author":{"url":"https://github.com/pfgithub","@type":"Person","name":"pfgithub"},"datePublished":"2022-04-10T18:42:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/48636/TypeScript/issues/48636"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e1f0576c-5573-f2fb-668d-5b11a8f1611b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9638:262DEA:1AAC56:275274:6A61D675
html-safe-nonce3881d39cd90d478724d17e2cd7ceab01abd335527b0a7c805cff9c80b6601100
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjM4OjI2MkRFQToxQUFDNTY6Mjc1Mjc0OjZBNjFENjc1IiwidmlzaXRvcl9pZCI6IjgzMjkzMjIyMTAyNjEwNjMyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd226566061896a9cff41594196bec3d3a5cf80142d03e7bdf54af610763d1150
hovercard-subject-tagissue:1199138242
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/48636/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bb3441e5c6c0327b7f76b84c7909531495750d06e50e504a54d4636a8de0c756/microsoft/TypeScript/issues/48636
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb3441e5c6c0327b7f76b84c7909531495750d06e50e504a54d4636a8de0c756/microsoft/TypeScript/issues/48636
og:image:altBug Report 🔎 Search Terms "Debug Failure. No error for last overload signature" Also, for anyone in the future finding a minimal reproduction for an error like this: edit node_modules/typescript/ts...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepfgithub
hostnamegithub.com
expected-hostnamegithub.com
Noneb2de8c74e5e61e893155ba46ee41bc66170c1644cb795adefa8386d490f7781c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released1866027ded575df8a15c731dd8b9986c9483ceb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/48636#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F48636
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fissues%2F48636
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/48636
Reloadhttps://github.com/microsoft/TypeScript/issues/48636
Reloadhttps://github.com/microsoft/TypeScript/issues/48636
Please reload this pagehttps://github.com/microsoft/TypeScript/issues/48636
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 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 and quality 0 https://github.com/microsoft/TypeScript/security
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 and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
#49598https://github.com/microsoft/TypeScript/pull/49598
Debug Failure. No error for last overload signaturehttps://github.com/microsoft/TypeScript/issues/48636#top
#49598https://github.com/microsoft/TypeScript/pull/49598
https://github.com/jakebailey
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 4.8.0https://github.com/microsoft/TypeScript/milestone/163
https://github.com/pfgithub
pfgithubhttps://github.com/pfgithub
on Apr 10, 2022https://github.com/microsoft/TypeScript/issues/48636#issue-1199138242
Workbench link with relevant codehttps://www.typescriptlang.org/dev/bug-workbench/#code/C4TwDgpgBAIhFgEoQIYBMD2A7ANiAPACoB8UAvFAAxQQAewEWaAzlAIxQBkUhUA-DygAuKAG8AUFClQATqky4QUANoBpKAEssUANYQQGAGY8AuiLgJk6bHiJqTxANziAvs7QQAxjhRyohgFcsT2ANbFkvbE8NHAgiGnpGFigAVQAaVOIACgA3FBwAiBFCAEoRLOZgFAYRFJLyUkJncVBIKABlYAw5dohgBhkiUgosrLA5HM7qoth4JHkbAhJ6slILeetFIZLm1uhe4E7uiAAxIJCwrCHyKAq+gZEjnvuIQeWGqByMDTRmujBusB-OdQuE9sxPDINGBgABhGQoZgACyGWUk0jyBRm6ysClsJDS6KkzD6ADV8oVHn0nqcQZd4gAfKBYAI4HDEQn1CTSKAk4DkrFZOSeKIxCC5CkQEo7VxAA
jakebaileyhttps://github.com/jakebailey
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 4.8.0https://github.com/microsoft/TypeScript/milestone/163
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.