René's URL Explorer Experiment


Title: Simplify generic function call error reporting by ahejlsberg · Pull Request #16439 · microsoft/TypeScript · GitHub

Open Graph Title: Simplify generic function call error reporting by ahejlsberg · Pull Request #16439 · microsoft/TypeScript

X Title: Simplify generic function call error reporting by ahejlsberg · Pull Request #16439 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Simplify generic function call error reporting by ahejlsberg · Pull Request #16439 · microsoft/TypeScript

Open Graph Description: This PR simplifies the way we report errors related to type inference for generic functions. Previously, type inference could fail when there was no common supertype for the inferences. With this P...

X Description: This PR simplifies the way we report errors related to type inference for generic functions. Previously, type inference could fail when there was no common supertype for the inferences. With this P...

Opengraph URL: https://github.com/microsoft/TypeScript/pull/16439

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4471dfdc-ce7e-e10e-877b-459581680ecf
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8DA4:8196C:969596:C978B4:6B00E518
html-safe-nonce4512c015715fdbe2ad74c487b635e465737f8b0814680fe155c3dc602f394a81
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REE0OjgxOTZDOjk2OTU5NjpDOTc4QjQ6NkIwMEU1MTgiLCJ2aXNpdG9yX2lkIjoiODQ1MjUyMzY1NjM5NDg5MjU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2dd73f6395367f2d358fbe4151e3dade49a23bbdf3bf9e7b08aae169b66bc171
hovercard-subject-tagpull_request:125006987
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/16439/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ccca1378185bde338a385581706318af79bf489c1f0433e6e4c5aaeee0a1d875/microsoft/TypeScript/pull/16439
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccca1378185bde338a385581706318af79bf489c1f0433e6e4c5aaeee0a1d875/microsoft/TypeScript/pull/16439
og:image:altThis PR simplifies the way we report errors related to type inference for generic functions. Previously, type inference could fail when there was no common supertype for the inferences. With this P...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-cache
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
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/16439#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F16439
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F16439
Sign uphttps://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
Reloadhttps://github.com/microsoft/TypeScript/pull/16439
Reloadhttps://github.com/microsoft/TypeScript/pull/16439
Reloadhttps://github.com/microsoft/TypeScript/pull/16439
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
masterhttps://github.com/microsoft/TypeScript/tree/master
simplifyGenericErrorshttps://github.com/microsoft/TypeScript/tree/simplifyGenericErrors
Conversationhttps://github.com/microsoft/TypeScript/pull/16439
Commits3 (3)https://github.com/microsoft/TypeScript/pull/16439/commits
Checkshttps://github.com/microsoft/TypeScript/pull/16439/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/16439/files
Simplify generic function call error reportinghttps://github.com/microsoft/TypeScript/pull/16439#top
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
masterhttps://github.com/microsoft/TypeScript/tree/master
simplifyGenericErrorshttps://github.com/microsoft/TypeScript/tree/simplifyGenericErrors
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 10, 2017https://github.com/microsoft/TypeScript/pull/16439#issue-235031459
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
June 10, 2017 14:38https://github.com/microsoft/TypeScript/pull/16439#commits-pushed-a8c648f
https://github.com/ahejlsberg
Simplify error reporting for generic functionshttps://github.com/microsoft/TypeScript/pull/16439/commits/a8c648f49541cd07846605a91a40f56efc84ea7b
a8c648fhttps://github.com/microsoft/TypeScript/pull/16439/commits/a8c648f49541cd07846605a91a40f56efc84ea7b
https://github.com/ahejlsberg
Accept new baselineshttps://github.com/microsoft/TypeScript/pull/16439/commits/8cdd7f2a726efad1d2945e1b58dfe73133f8c9a5
8cdd7f2https://github.com/microsoft/TypeScript/pull/16439/commits/8cdd7f2a726efad1d2945e1b58dfe73133f8c9a5
https://github.com/ahejlsberg
Fix fourslash testshttps://github.com/microsoft/TypeScript/pull/16439/commits/604c34445c75ec8d723345efb4f9e39b9d4ed350
604c344https://github.com/microsoft/TypeScript/pull/16439/commits/604c34445c75ec8d723345efb4f9e39b9d4ed350
https://github.com/msftclas
Microsoft Contribution License Agreements (msftclas)https://github.com/msftclas
cla-not-required https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3Acla-not-required
Jun 10, 2017https://github.com/microsoft/TypeScript/pull/16439#event-1118372419
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 11, 2017https://github.com/microsoft/TypeScript/pull/16439#event-1118388411
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 11, 2017https://github.com/microsoft/TypeScript/pull/16439#event-1118388731
https://github.com/gcnew
Marin Marinov (gcnew)https://github.com/gcnew
Jun 11, 2017https://github.com/microsoft/TypeScript/pull/16439#issuecomment-307614869
#16104https://github.com/microsoft/TypeScript/pull/16104
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#issuecomment-307838872
#15116https://github.com/microsoft/TypeScript/issues/15116
#15221https://github.com/microsoft/TypeScript/pull/15221
#15221https://github.com/microsoft/TypeScript/pull/15221
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#issuecomment-307841778
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017 https://github.com/microsoft/TypeScript/pull/16439#pullrequestreview-43491937
View reviewed changes https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
tests/baselines/reference/genericCallWithGenericSignatureArguments.typeshttps://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350#diff-ebf9a14f8d9a2f7279eeffa8cb3e3bd1a8a5aaaef356baa4f0b8b0844394d8fe
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121461575
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 13, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121733308
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017 https://github.com/microsoft/TypeScript/pull/16439#pullrequestreview-43499146
View reviewed changes https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/16439#pullrequestreview-43499146
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.errors.txthttps://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350#diff-3a02f9e4f95d9be9431004ebdf1dc6fdcbb442ea98eeb787815808e0f2d23340
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121468225
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
tests/baselines/reference/tsxStatelessFunctionComponentsWithTypeArguments2.errors.txthttps://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350#diff-f679bc44f49ae41e07b8054469e0de459c597b54024e3cff5f4dbd375521965a
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121470076
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Yui (@yuit)https://github.com/yuit
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
tests/baselines/reference/typeArgumentInferenceWithConstraintAsCommonRoot.errors.txthttps://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350#diff-d202ed43e3a406f829dfb3b22156f321f28e0412754fa2eb23e0474b5f73cb91
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121470768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Jun 12, 2017 https://github.com/microsoft/TypeScript/pull/16439#pullrequestreview-43506207
View reviewed changes https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
tests/baselines/reference/genericCallWithNonSymmetricSubtypes.errors.txthttps://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350#diff-cc21a42b7b67026c327f49d3f21bb3d96a770210af5ebfc20b763dfd507ce86f
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Jun 12, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121474855
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 13, 2017https://github.com/microsoft/TypeScript/pull/16439#discussion_r121734621
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Jun 13, 2017https://github.com/microsoft/TypeScript/pull/16439#issuecomment-308176145
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 13, 2017 https://github.com/microsoft/TypeScript/pull/16439#pullrequestreview-43788188
View reviewed changes https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
31f0814https://github.com/microsoft/TypeScript/commit/31f0814d4aa57409718f70dc50b876d28944b404
Jun 13, 2017https://github.com/microsoft/TypeScript/pull/16439#event-1121959984
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
June 13, 2017 18:43https://github.com/microsoft/TypeScript/pull/16439#event-1121960143
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 13, 2017 https://github.com/microsoft/TypeScript/pull/16439#ref-commit-5b9f7be
https://github.com/ahejlsberg
https://github.com/mhegazy
Simplify generic function call error reporting (https://github.com/microsoft/TypeScript/commit/5b9f7be9c38a1bd053ce98a0e9293a2d5fb3d138
#16439https://github.com/microsoft/TypeScript/pull/16439
)https://github.com/microsoft/TypeScript/commit/5b9f7be9c38a1bd053ce98a0e9293a2d5fb3d138
5b9f7behttps://github.com/microsoft/TypeScript/commit/5b9f7be9c38a1bd053ce98a0e9293a2d5fb3d138
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 13, 2017 https://github.com/microsoft/TypeScript/pull/16439#ref-pullrequest-235673387
Port #16439 #16501 https://github.com/microsoft/TypeScript/pull/16501
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Jun 13, 2017 https://github.com/microsoft/TypeScript/pull/16439#ref-commit-68e2a45
https://github.com/mhegazy
Simplify generic function call error reporting (https://github.com/microsoft/TypeScript/commit/68e2a4561d6f51898d4f9bf2d8108488f33aaca1
#16439https://github.com/microsoft/TypeScript/pull/16439
) (https://github.com/microsoft/TypeScript/commit/68e2a4561d6f51898d4f9bf2d8108488f33aaca1
#16501https://github.com/microsoft/TypeScript/pull/16501
)https://github.com/microsoft/TypeScript/commit/68e2a4561d6f51898d4f9bf2d8108488f33aaca1
68e2a45https://github.com/microsoft/TypeScript/commit/68e2a4561d6f51898d4f9bf2d8108488f33aaca1
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Jun 13, 2017 https://github.com/microsoft/TypeScript/pull/16439#ref-issue-220832962
Assert when type inference can't find a common supertype #15116 https://github.com/microsoft/TypeScript/issues/15116
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Jun 14, 2018https://github.com/microsoft/TypeScript/pull/16439#event-1682148076
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F16439
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) https://github.com/RyanCavanaugh
https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
https://github.com/mhegazy
Mohamed Hegazy (mhegazy) https://github.com/mhegazy
https://github.com/microsoft/TypeScript/pull/16439/files/604c34445c75ec8d723345efb4f9e39b9d4ed350
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/16439
https://github.com/ahejlsberg
https://github.com/gcnew
https://github.com/sandersn
https://github.com/RyanCavanaugh
https://github.com/mhegazy
https://github.com/msftclas
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.