René's URL Explorer Experiment


Title: Design Meeting Notes, 4/26/2023 · Issue #54038 · microsoft/TypeScript · GitHub

Open Graph Title: Design Meeting Notes, 4/26/2023 · Issue #54038 · microsoft/TypeScript

X Title: Design Meeting Notes, 4/26/2023 · Issue #54038 · microsoft/TypeScript

Description: #54000 Inference priority problem between never in empty array and T Difference between inference in two instantiations of same alias and structural algorithm Fixes are likely to be over-targeted corner cases, trading one problem for ano...

Open Graph Description: #54000 Inference priority problem between never in empty array and T Difference between inference in two instantiations of same alias and structural algorithm Fixes are likely to be over-targeted c...

X Description: #54000 Inference priority problem between never in empty array and T Difference between inference in two instantiations of same alias and structural algorithm Fixes are likely to be over-targeted c...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design Meeting Notes, 4/26/2023","articleBody":"https://github.com/microsoft/TypeScript/issues/54000\r\n\r\n- Inference priority problem between `never` in empty array and `T`\r\n- Difference between inference in two instantiations of same alias and structural algorithm\r\n- Fixes are likely to be over-targeted corner cases, trading one problem for another\r\n- Conclusion: do nothing\r\n\r\nhttps://github.com/microsoft/TypeScript/pull/53995\r\n\r\n- PR doesn't affect indirect recursive tail calls, only direct self-calls\r\n- Looks good\r\n- A function that only tail calls itself and never returns anything else will be `never`, used to be an error\r\n- May need to fix an implementation detail, ensuring the call expression expression is identifier\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/53999\r\n\r\n- Would we rather revisit the whole set of rules around specifying type parameters on function calls? With this proposal, it seems like we'd always suggest people write `preferinfer`. Can we just do something like that behavior by default?\r\n  - We could try just using inference instead of defaults on type parameters with defaults, only using the default if no candidates were collected\r\n- This proposal has a limitation of only omitting trailing arguments, whereas the `_` placeholder PR lets any parameter be omitted\r\n- A modifier on the type parameter doesn't make sense\r\n- There's something fishy about having a situation where type arguments need to be manually specified anyway\r\n  - There are a lot of poorly designed APIs like this in the wild already\r\n  - Specifying a type argument can be useful in the same kinds of cases where it's useful to explicitly annotate a variable declaration, like setting the element type of an empty array (`new Set\u003cstring>()` comes to mind)\r\n  - People also use additional type parameters with defaults as scoped type aliases\r\n- Worth looking at `_` proposal again, or even just always allowing partial tye argument specification (in expression positions)\r\n  - Type argument arity is first pass of overload selection 😬\r\n- Conclusion: update the `_` PR, run RWC, see what happens\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/54005\r\n\r\n- Maybe Jake broke it\r\n- Oops we're not actually prepared to talk about this one\r\n- At least typescript-bot successfully bisected it\r\n- In an ideal world we'd be able to try both and see which one works\r\n- Conclusion: Anders would like to look at it\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/53970\r\n\r\n- Someone is relying on an implementation detail of when we resolve indexed access type to make a higher-order polymorphism mechanism\r\n- We now defer reduceable intersection types when they occur in indexed access types\r\n- The deferral is kind of the right thing to do, but it breaks the example\r\n- `(F & { readonly A: A })['type']` used to reduce to `F['type']` without acknowledging that the intersection could produce `never`\r\n- We could potentially fix this by doing the intersection reduction `(A & B)[C]` to `A[C] & B[C]` during inference and inferring from both\r\n\r\nhttps://github.com/microsoft/TypeScript/issues/54011\r\n\r\n- Needed for a version of Monaco that doesn't bundle TS so you can dynamically figure out what libs are available\r\n- Might be more future-proof to expose it as a function instead\r\n- Can you not just read all the file names in `typescript/lib`?\r\n  - No, because you might be getting TS files from a CDN, and there's not necessarily a consistent way to get a listing","author":{"url":"https://github.com/andrewbranch","@type":"Person","name":"andrewbranch"},"datePublished":"2023-04-26T21:51:46Z","url":"https://github.com/microsoft/TypeScript/issues/54038"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6fd95256-234d-575c-3a42-1f7ee7043ea3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id957C:1D86C4:21EBD38:2B0C71E:6B01784F
html-safe-noncea61e6f4389661a82b1127950dd8578d5ec0a933bc1a9134029757d6f47f988f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTdDOjFEODZDNDoyMUVCRDM4OjJCMEM3MUU6NkIwMTc4NEYiLCJ2aXNpdG9yX2lkIjoiNTE1MTA4MzE2MzI2NjY3NjgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacac726f305eba6cfdb9fcd141e59b0dca674dd9f4556528e2efc0543fc9eb6273
hovercard-subject-tagissue:1685786227
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/54038/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ab98ad41284c8c17bf7b4af5e7455c65a0ba480bb337207d770a20b148518f28/microsoft/TypeScript/issues/54038
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ab98ad41284c8c17bf7b4af5e7455c65a0ba480bb337207d770a20b148518f28/microsoft/TypeScript/issues/54038
og:image:alt#54000 Inference priority problem between never in empty array and T Difference between inference in two instantiations of same alias and structural algorithm Fixes are likely to be over-targeted c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandrewbranch
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/54038#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F54038
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%2Fissues%2F54038
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/54038
Reloadhttps://github.com/microsoft/TypeScript/issues/54038
Reloadhttps://github.com/microsoft/TypeScript/issues/54038
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)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
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54038
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54038
Design Meeting Notes, 4/26/2023https://github.com/microsoft/TypeScript/issues/54038#top
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
https://github.com/andrewbranch
Andrew Branch (andrewbranch)https://github.com/andrewbranch
on Apr 26, 2023https://github.com/microsoft/TypeScript/issues/54038#issue-1685786227
#54000https://github.com/microsoft/TypeScript/issues/54000
#53995https://github.com/microsoft/TypeScript/pull/53995
#53999https://github.com/microsoft/TypeScript/issues/53999
#54005https://github.com/microsoft/TypeScript/issues/54005
#53970https://github.com/microsoft/TypeScript/issues/53970
#54011https://github.com/microsoft/TypeScript/pull/54011
Andrew Branch (andrewbranch)https://github.com/andrewbranch
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
on Apr 26, 2023https://github.com/microsoft/TypeScript/issues/54038#event-9108263688
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
on Apr 26, 2023https://github.com/microsoft/TypeScript/issues/54038#issuecomment-1524113914
https://github.com/mikearnaldi
Michael Arnaldi (mikearnaldi)https://github.com/mikearnaldi
on Apr 27, 2023https://github.com/microsoft/TypeScript/issues/54038#issuecomment-1525344438
#40928https://github.com/microsoft/TypeScript/issues/40928
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 26, 2023https://github.com/microsoft/TypeScript/issues/54038#event-10782471095
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/54038
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/54038
Design NotesNotes from our design meetingshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Design%20Notes%22
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.